Reuse of VB3 code into VB5? 
Author Message
 Reuse of VB3 code into VB5?

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.

Thanks.

Anders Ohlsson



Wed, 28 Mar 2001 03:00:00 GMT  
 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.



Wed, 28 Mar 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How do I reuse code in the Code-Behind section of an ASPX page

2. how to convert code in vb3.0 to vb5.0

3. Converting VB3 code to VB5.0

4. How to reuse code in Access ?

5. Reuse of Code OCX?

6. Reuse code problem

7. How to reuse Index file using VB5?

8. Warning- careful when reusing code

9. Code ReUse Tip

10. VB5 OOPS Reuse-Passing Variables 2

11. Reusing OCX's of VB4.0 in VB5.0

12. Q: Regarding MDI and the reuse of controls and code

 

 
Powered by phpBB® Forum Software