just open the VB3 project in VB6(if it isnt saved in binary format) and Vb6 should say something like do you wish to conver this to VB6. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
That will get you started. However, if you're using any VBXs, you'll need to acquire the corresponding OCX. Also, if you're using the Windows API, you'll need to convert from 16 to 32 bit. There are also some other possible problems.<br><br>When VB4 came out, Crescent software published a wizard that helps convert VB3 applications to 32 bit VB4. If it's still available, I'd use that first. If it can't convert, at least it identifies the problem area.<br> <p>nick bulka<br><a href=mailto:nick@bulka.com>nick@bulka.com</a><br><a href= > </a><br>
Once you open the project, it is likely not to run correctly, if it is a project of any complexity at all. The following are some of the issues you may need to deal with:<br>1. Any custom controls used in vb3 will be VBX 16-bit controls. These won't work under VB6. They'll give you errors when the project loads and when you open the affected forms. VB6 will turn them into picture boxes. Then you'll have to decide what control to use instead and set about inserting that control. This can be trivial or complicated, depending on how much code was specific to the way the control worked, and how much event code was written. This was a huge effort on a project I converted from vb3 to vb5 a couple years back, because the vb3 project used Sheridan grids and listboxes all over the place, and the new Sheridan 32-bit controls were VERY different and did not provide automatic conversion.<br>2. Any API calls will have to be modified. In general, all integers in 16-bit API calls are now of type long in 32-bit API calls. Also the name and or alias of the API call is different.<br>3. If the program did any database access, you will likely need/want to convert it to use the newer database access technologies, such as ADO and OLE-DB.<br><br>Hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.