Solved

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

Posted on 1998-10-14
3
225 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
[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
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

Independent Software Vendors: 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

624 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