Solved

converting VB3.0 into VB4.0 or VB5.0

Posted on 1998-10-14
3
220 Views
Last Modified: 2006-11-17
I have implemented several programs in Visual Basic ver. 3.0 and i want to know if its easy to convert them into v. 4.0 or v.5.0? And how can i do it?
0
Comment
Question by:jvazquel
3 Comments
 
LVL 3

Expert Comment

by:rmichels
ID: 1439981
The quickest thing to do is try it.  Many things convert just fine.  One thing that you need to watch out for, is if you had Declarations for Windows APIs.  These will all have to be changed for Win32 functions.  Mostly the parameter types and return code types (Integers become Longs generally).
0
 
LVL 14

Accepted Solution

by:
waty earned 50 total points
ID: 1439982
I have converted several projects from VB3, VB4 to VB5.
As rmichels told, you have to care to the declarations API, it is quite easy to do, take care to all your integer, they are almost converted to long.

But the more difficult, is the conversion of VBX ot 16bits OCX to the 32bits OCX. You need the same 32bits OCX, and eventually change the code. As I use the less possibile 3rd OCX, I did had too much to convert.
I have converted a VB4 16bits application 1 month ago, wich accessing a DLL to map a drive, under VB5, you can use API to map drives. You can do a lot of new things under VB5.

Once your old application is converted, and runs, you could take some advantage of the VB5 : the new way to access the DB...

If you have any problem, don't hesitate to contact me, I could help you.
0
 
LVL 1

Expert Comment

by:mr_krishna
ID: 1439983
Go through the following URL you can get some valuable information.
http://www.microsoft.com/technet/resource/technet/devtools/vb/migappv/migappv1.htm

Here he has given on Wizard to convert lower versions of VB applications into higher versions.

A Migration Wizard developed by the Crescent Division of Progress Software is included in the VB5 CD. It can be found in the directory: \Tools\Unsupprt\Migrwiz. Other resources are API declarations that can be found in the \WinAPI directory installed with VB and Daniel Appleman's book, Visual Basic Win32 API.



0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 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

14 Experts available now in Live!

Get 1:1 Help Now