Solved

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

Posted on 1997-07-03
2
218 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

726 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