Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jul 7, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

VB4 - VB5 Compatibility Issues

I've wanted to upgrade my VB4 pro to VB5 ent. for a month or so now, but after monitoring various VB newsgroups for a few weeks I'm glad I waited with the upgrade. It seems like VB5 is not at all compatible with VB4 in any way (including OCX's). VB5 is really not very popular amongst VB4 developers... I myself have several VB4 16 bit programs that my customers really need me to make future chages/upgrades to, so can I 100% safely upgrade to VB5 and still use my VB4 16 bit version ? What about Crystal Reports, is the VB5 version of CR compatible with the VB4 version of CR ? What about the Setup Wizard in VB5 and VB4 16 bit, will there be any conflicts there ?

The problems you have been reading about are mainly coming from Visual Basic 4.0 and 5.0's libraries not being compatible. For best results, I would recommend uninstalling Visual Basic 4.0 before installing Visual Basic 5.0. In addition, Visual Basic 5.0 and Office 95 do not get along very well. I had major problems when trying to have them live together. Office 97 and Visual Basic 5.0 get along very well, however.

As far as OCXs not being compatible, I'm not sure where you heard that. OCXs that worked in VB4 will work fine in VB5, since there was no change in the OCX model between the versions.

Visual Basic 5.0 does not include any support for 16-bit application creation, so your 16-bit applications will either have to be upgraded to 32-bit or you'd better stay with VB4.=20

As far as Crystal Reports goes, VB5 includes Crystal Reports 4.5. The current shipping version (which you can upgrade to) of CR is 5.0.

The Setup Wizard in VB5 has been updated to deal with VB 5.0 files. VB 5.0 will automatically upgrade any VB4 files to work with VB5, but it will not create any 16-bit applications any longer.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date