
Reuse of VB3 code into VB5?
Quote:
>Does anyone know how to reuse an application (code and forms) written in
>VB3 into VB5? When I try to add a form written in VB3 into VB5 I get the
>error message: This form is binary coded and cant be used in VB5.
Open the project in VB3, then select every module one-by-one and do File /
SaveAs and check the 'Save as Text' option. You should then be able to open
the files in VB5.
Note that you may have changes to make, especially if you use API calls or
Integer variables as returns from functions (like Shell). If your logic
relies on the order of Lostfocus/Click/etc events then that will require
re-working as well. If you use third-party VBX controls you'll need the
32-bit OCX versions to upgrade them. Depending on what else you do you may
run into other issues.