Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I migrate a project from VB4.0 to VB5.0

Posted on 1997-07-03
2
217 Views
Last Modified: 2008-03-06
I have several large and complex applications written in VB4.0 which could use the speed boost of native code compilation in VB5.0.  I have tried several times to do this without success.(I keep getting the little msgbox with the red dot and X with no explanation.) I have also tried the wizard to no avail.  I would like detailed instructions on how to convert a project from VB4.0 to VB5.0.
0
Comment
Question by:mikynox
2 Comments
 
LVL 3

Expert Comment

by:ESI
ID: 1427983
Converting your code to VB5 won't really speed it up (maybe
you'll gain a global  5%).
I upgraded 2 projects from VB4 to VB5, one without any
problems, and the second, bigger, raise Out of Memory
errors at run-time.....and on Unload statments !! weird...
Remember to backup your code b4 upgrading to VB5,
coz it will be very difficult to go back to VB4.
In summary, install VB4 & after VB5 to make the
both environments cohabiting.
Good luck !
0
 
LVL 2

Accepted Solution

by:
PedroMVGomes earned 40 total points
ID: 1427984
Just open the project in VB5 , and the migration is automatic.
The only problem is that Visual Basic 5 is only 32 bits so you must first have a 32 bits version of all the componets your projects.
VB5 is faster them VB4, the only problem is that VB5 native compiler doen't optimizes the code, like VC++ compiler. So in order to really speed your projects you must take a look and see if your project isn't making any unecessary calls ( because they usualy do )
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 80
how can i unlock a picture file that was loaded in a picturebox in visual c#? 4 105
Using "ScreenUpdating" 6 73
Hide vba in gp 7 104
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question