1.

Solve : VB 5 and VB 6 Compatibility!!!!?

Answer»

Hi everyone, I have a little clue: I wish to develop an application, (modify and update), but it's developed in MS Visual Basic 5. I'd never programmed in VB5. Could I modify without some kind of issue in VB6 the sourcecode written in VB5?

Regards

Normally, when you OPEN VB5 project in VB6 that project is automatically converted into VB6.

But any feature used in your VB5 project may be(It depends upon your project) invalid or changed in VB6. Incase you must update or alter the source code to VB6.

After conversion it runs only on VB6 supported systems.VB5 and VB6 are so similiar VB6 could easily have simply been a service pack for 5- it adds a few functions with questionable value (like StrReverse), and several new features as far as objects/Classes are concerned, but unless you use these features, you'll have no problem going back and forth between VB5 and VB6 (although as you say you don't have VB5 anyway so that won't be an issue)

The sourcecode will almost definitely not have anything but trivial changes to be made, if any. I've converted projects from VB2 with very few problems, so I'd say that VB5 to VB6 are even fewer.Quote from: CBSk on June 26, 2008, 05:38:09 AM

Normally, when you open VB5 project in VB6 that project is automatically converted into VB6.

But any feature used in your VB5 project may be(It depends upon your project) invalid or changed in VB6. Incase you must update or alter the source code to VB6.

After conversion it runs only on VB6 supported systems.

Which SP do you mean SP5 or SP6?

Of course, I REFER the VB6 Service PacksQuote from: friny on June 27, 2008, 02:05:04 AM
Quote from: CBSk on June 26, 2008, 05:38:09 AM
Normally, when you open VB5 project in VB6 that project is automatically converted into VB6.

But any feature used in your VB5 project may be(It depends upon your project) invalid or changed in VB6. Incase you must update or alter the source code to VB6.

After conversion it runs only on VB6 supported systems.

Which SP do you mean SP5 or SP6?

Of course, I refer the VB6 Service Packs

I can't speak for him as far as which SP he is using, but I've successfully converted projects from VB2-VB6 (no service pack) as WELL as SP6... VB5, I was only using the free "Control Creation EDITION", and I could successfully open my projects from either, since VB6 also labels it's projects with VERSION 5.0 as the first line.


I'd suggest you simply copy the project and open it up in VB6, and see what happens. Shouldn't be a problem. @friny: The same as BC_Programmer speak. I had conversion done in both VB6 without any SP and VB6 with SP6. In my conversion I found some minor changes in source code for my project.Well, I'd test it and it works fine, with a bit of change.

Thanks to all for your usefull help!!


Discussion

No Comment Found