Solved

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

Posted on 1997-07-03
2
216 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 167
Help me. 3 54
Need Nag Screen for Reboot if system up time is over 14 days 12 48
Automatic Email Reminder 4 37
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 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