devxlogo

Saving VB 6 Files for VB 5

Saving VB 6 Files for VB 5

Question:
The computer lab where I’m taking a course has Visual Basic 6.0 now. Is there some way to save a VB 6.0 project so that it will be compatible with the VB 5.0 that I have on my home computer?

Answer:
There are just a few differences between VB5 and 6. In most cases, you can simply load up the VB6 file into VB5. It will give you some minor errors about properties that it doesn’t understand, but other than that, the code and everything else will translate over correctly. The issue is nastier if you are using controls that are VB6 controls, such as the new Common Controls. In this case, you will either need to use the VB5 Common Controls, or you will have to rebuild the form, since the controls will turn into PictureBox controls when they can’t load properly.

See also  How AI Art Generators Can Save Time and Money for Startups
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist