Application migration VB3 to VB6 - VBX, API, Access 1.1
Author |
Message |
Danie #1 / 4
|
 Application migration VB3 to VB6 - VBX, API, Access 1.1
Hi, I have got an old VB 3 Application in combination with an Access 1.1 Database. My ambitious plan is now to port the application on the actual VB Version 6 and extend it with some new functionalities . But keep the changes on the old code minimaly as possible. I am not sure to upgrade the database engine, too. My questions are: How can I port the application ? Are there tools available ? What are the typical problems ? What problems does occur if I change the database engine to e.g. Access 97 ? Or vice versa what problems occour if I use Access 1.1 in future ? Where can I find further information regardig this topic ? The Application uses following 16 Bit VBX Controls cmdialog, crystal, graph, grid, threed Wich of them could cause problems ? There are also same API calls used. The application works fine under Win98 and Win2000. So I guess that I will get no problems with the API Calls with VB6. Is that right ? thank you for assitance Daniel
|
Sat, 25 Oct 2003 15:31:26 GMT |
|
 |
George Lissaue #2 / 4
|
 Application migration VB3 to VB6 - VBX, API, Access 1.1
See the VB 3 page at http://www.gridlinx.com You can get a copy of the free Crescent Upgrade Wizard there. ... George GridLinx Software Programming Tools for VB Programmers
Quote: > Hi, > I have got an old VB 3 Application in combination with an Access 1.1 > Database. My ambitious plan is now to port the application on the actual VB > Version 6 and extend it with some new functionalities . But keep the changes > on the old code minimaly as possible. I am not sure to upgrade the database > engine, too. > My questions are: > How can I port the application ? > Are there tools available ? > What are the typical problems ? > What problems does occur if I change the database engine to e.g. Access 97 ? > Or vice versa what problems occour if I use Access 1.1 in future ? > Where can I find further information regardig this topic ? > The Application uses following 16 Bit VBX Controls > cmdialog, crystal, graph, grid, threed > Wich of them could cause problems ? > There are also same API calls used. The application works fine under Win98 > and Win2000. So I guess that I will get no problems with the API Calls with > VB6. Is that right ? > thank you for assitance > Daniel
|
Sun, 26 Oct 2003 01:21:31 GMT |
|
 |
Ron Rubl #3 / 4
|
 Application migration VB3 to VB6 - VBX, API, Access 1.1
<snip> Quote: >My questions are: >How can I port the application ?
First, save everything from VB 3 *as text*. By default, VB3 uses a binary file format that current versions can't read. Quote: >Are there tools available ?
I believe Sheridan has an upgrade wizard. Quote: >What are the typical problems ?
API calls are changed, controls are changed, the language has changed.... ...stuff like that. After VB 3, VB automatically coerces data into the type required by the statement; VB 3 code that depends on receiving a "Type Mismatch" error can fail. Read the MSDN periodicals documentation on "Evil Type Coercion" for some of the pitfalls. Quote: >What problems does occur if I change the database engine to e.g. Access 97
? A lot has changed. The object structure is different, methods were removed and changed. Quote: >Or vice versa what problems occour if I use Access 1.1 in future ?
I don't think that is an option. I believe the earliest Access engine supported by VB 32 bit is 2.5, via a compatibility driver. Quote: >Where can I find further information regardig this topic ?
The MSDN documentation, VB Programmer's Journal back issues. Quote: >The Application uses following 16 Bit VBX Controls >cmdialog, crystal, graph, grid, threed
Common dialog, Crystal, and Threed are still there, and largely unchanged (as far as backward compatibility goes). Graph is there, but I believe there were changes. Grid has been replaced; I believe the stock control is a version of the Apex grid control. Quote: >Wich of them could cause problems ?
Any or all of them. Quote: >There are also same API calls used. The application works fine under Win98 >and Win2000. So I guess that I will get no problems with the API Calls with >VB6. Is that right ?
No, that's wrong. 32 bit APIs are very different in some ways than the 16 bit ones. You *will* rewrite almost all declare statements; you probably will need to find 32 bit replacements for 16 bit API calls; you *may* not be able to do things in the same way at all. Expect to do some real work.
|
Mon, 27 Oct 2003 11:07:32 GMT |
|
 |
Ron Rubl #4 / 4
|
 Application migration VB3 to VB6 - VBX, API, Access 1.1
<snip> Quote: >My questions are: >How can I port the application ?
First, save everything from VB 3 *as text*. By default, VB3 uses a binary file format that current versions can't read. Quote: >Are there tools available ?
I believe Sheridan has an upgrade wizard. Quote: >What are the typical problems ?
API calls are changed, controls are changed, the language has changed.... ...stuff like that. After VB 3, VB automatically coerces data into the type required by the statement; VB 3 code that depends on receiving a "Type Mismatch" error can fail. Read the MSDN periodicals documentation on "Evil Type Coercion" for some of the pitfalls. Quote: >What problems does occur if I change the database engine to e.g. Access 97
? A lot has changed. The object structure is different, methods were removed and changed. Quote: >Or vice versa what problems occour if I use Access 1.1 in future ?
I don't think that is an option. I believe the earliest Access engine supported by VB 32 bit is 2.5, via a compatibility driver. Quote: >Where can I find further information regardig this topic ?
The MSDN documentation, VB Programmer's Journal back issues. Quote: >The Application uses following 16 Bit VBX Controls >cmdialog, crystal, graph, grid, threed
Common dialog, Crystal, and Threed are still there, and largely unchanged (as far as backward compatibility goes). Graph is there, but I believe there were changes. Grid has been replaced; I believe the stock control is a version of the Apex grid control. Quote: >Wich of them could cause problems ?
Any or all of them. Quote: >There are also same API calls used. The application works fine under Win98 >and Win2000. So I guess that I will get no problems with the API Calls with >VB6. Is that right ?
No, that's wrong. 32 bit APIs are very different in some ways than the 16 bit ones. You *will* rewrite almost all declare statements; you probably will need to find 32 bit replacements for 16 bit API calls; you *may* not be able to do things in the same way at all. Expect to do some real work.
|
Mon, 27 Oct 2003 11:07:32 GMT |
|
|
1. Application migration VB3 to VB6 - VBX, API, Access 1.1
2. Application migration VB3 to VB6 - VBX, API, Access 1.1
3. Application migration VB3 to VB6 - VBX, API, Access 1.1
4. Help - Access database migration 1.1 --> 3.5
5. Help - Access database migration 1.1 --> 3.5 problems
6. VB3, Access 1.1 multi user access
7. VB3/4 Problem Accessing Access 1.1, Read Only In WIN95
8. Can VB5 read/convert VB3 Access 1.1?
9. VB3 problems opening Access 1.1 database
10. VB3.0, Access 1.1, Compatibility Layer, Compact Statement
11. Access 1.1 & VB6
12. migration VB3.0 to VB6.0
|
|
|