loading visual basic 3.0 applications in visual basic 5.0 
Author Message
 loading visual basic 3.0 applications in visual basic 5.0

Hai there!              

Is it possible to load an application written in Visual Basic 3.0 in a
visual basic 5.0 environment?

thanks!



Fri, 30 Jun 2000 03:00:00 GMT  
 loading visual basic 3.0 applications in visual basic 5.0

Quote:

>Hai there!

>Is it possible to load an application written in visual basic 3.0 in a
>visual basic 5.0 environment?

>thanks!

The short answer is yes, but there are a lot of reasons why it could no
longer run, despite being (I'm sure) perfect in VB3.

Here are some of the problems I've had:

transmit transmit$

(difficult to forget that syntax!) but: fails utterly in VB4 onwards.

Here's something (testing for a set bit) that works in VB3, 4(16), 4(32),
but fails utterly in VB5:

If SequenceOfBits And BitToBeChecked Then Blah Blah Blah...

To make it work in VB5, I used

If SequenceOfBits And BitToBeChecked = BitToBeChecked Then Blah Blah Blah...

i.e. Blah Blah Blah *only* for True, not non-zero as before.

Maybe this is due to some hidden extra stringency in the object typing in
VB5.

I'm sure I'm in for more version fun, but you get the picture.
And these examples are drawn from code that can be left unattended to run
equipment for days; when it refused at the first fence! I was pretty
shocked, until I realised that my (and VB's)poor programming habits were
being picked out, one by one.

Anyway, it may be worth migrating through VB4, to get the 'flavour' of what
they've done to the underlying language. I've found it

Good luck,

Patrick



Fri, 30 Jun 2000 03:00:00 GMT  
 loading visual basic 3.0 applications in visual basic 5.0

Quote:

> Hai there!

> Is it possible to load an application written in visual basic 3.0 in a
> visual basic 5.0 environment?

> thanks!

It is possible to load it but it will not run.  There are numerous,
minor differences between VB3 and VB5 syntax. Plus unrecognised controls
are loaded as picture boxes (very annoying)

Alistair McIntosh



Sat, 01 Jul 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Looking for differences between Visual Basic 5.0 enterprise and Visual Basic 5.0 Profesional

2. Visual Basic 3.0 to Visual Basic 6.0

3. Visual Basic 3.0 vs Visual Basic 4.0

4. Visual Basic 5.0 vs. Visual Basic 4.0

5. Using visual basic controls outside a Visual Basic application

6. Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET

7. Can I use Visual Foxpro 5.0 and Visual Basic 5.0

8. Calling Visual C++ 5.0 DLL Functions From Visual Basic 5.0

9. (VFP 3.0 vs 5.0) vs Delphi and Visual Basic

10. Saving 5.0 enterprise as Visual Basic 3.0.

11. Problem: Visual Basic 3.0 + Crystal Report 5.0 16 bit

12. Pictures Loaded in Visual Basic 3.0

 

 
Powered by phpBB® Forum Software