Solved

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VB6 add a minute to the date time value 8 45
VB 6.0 printer how to align 6 49
using Access 8 52
Excel - Save a copy of work book 13 80
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now