Computer Science Canada

Opening VB 6.0 files in VB 5.0

Author:  Silent Avenger [ Wed Oct 25, 2006 7:59 pm ]
Post subject:  Opening VB 6.0 files in VB 5.0

Okay this is more of a tip than a tutorial. If your one of those people who have parents who tried to get into VB programming and bought the VB 5.0 version. Of course like most parents they are most likely too busy to do programming. Of course now your in school or decided to start programming with VB but one problem is that your school might run VB 6.0 not VB 5.0 or the example program you downloaded only works in VB 6.0. But there is a way to use VB6.0 files in VB 5.0. The problem is that VB 6.0 has certain properties in its files and when you try to open them in VB 5.0 you'd usually get a "retained key is invalid" error and it will not open the file. The trick is that this property of VB 6.0 is only in the project file and not in any other type of file. So if you download only the form and module type files and open them with a new project in VB 5.0 the program should work and you don't have to worry about the code or anything else other than the start up object of the project which can be changed in the project properties. I'm giving this tip in hopes that it will help someone as it would have helped me in grade 10 if I knew I could bring home my projects at school and run them on my VB 5.0 at home.

Author:  RGB255 [ Wed Oct 25, 2006 9:05 pm ]
Post subject: 

OMFG!!!!! You can do that? Seriously, can you actually do that?

Author:  Silent Avenger [ Wed Oct 25, 2006 9:23 pm ]
Post subject: 

Yes you can do that since I've done it many times over the last year and 1/4. You can try to download ZeroPaladn's program here http://www.compsci.ca/v2/viewtopic.php?t=13828 try to down load just the form and open it in VB and it should work.

Author:  ZeroPaladn [ Thu Oct 26, 2006 12:05 pm ]
Post subject: 

Or you can tell your parents not to skimp out and get VB6.0, but very uesful nonetheless. my friend has vb 5.0 and he ran my program just fine.

Author:  [Gandalf] [ Thu Oct 26, 2006 3:48 pm ]
Post subject: 

Why get VB6 when Visual Studio 2005 already exists? Rolling Eyes

Author:  Silent Avenger [ Thu Oct 26, 2006 3:50 pm ]
Post subject: 

Well if your in a situation where you work part time and your parents say you should be able to buy your own stuff since you are working then you most likely don't want to buy VB 6.0 if you already have VB 5.0.

Author:  wtd [ Fri Oct 27, 2006 5:33 pm ]
Post subject: 

[Gandalf] wrote:
Why get VB6 when Visual Studio 2005 already exists? Rolling Eyes


Because high school and community college CS programs are typically several years behind industry, and are still quite infatuated with VB6, despite even Microsoft having declared it dead.

They create programs intended to train people to be the next generation of the CS world's equivalent to janitors and wonder why they can't build enthusiasm in their students...


: