Click to See Complete Forum and Search --> : Converting from VB4 to VB6


Johan Jarlen
November 23rd, 1998, 08:57 AM
Hi!!!


Wondering if anyone have experience in converting Visual Basic 4

16bit systems to VB 6, 32bit. I understand that VBX controls, especially

from third part vendors, can cause problems. What other problems,

pitfalls are there? Brief descriptions will do, no details necessary.


Thanks in advance


/Johan Jarlen

Crazy D
November 24th, 1998, 04:07 AM
The main problem you will find are indeed the controls you use.

According to syntaxing and ****, you will find that VB 6 has some cool extra features, but as always, Microsoft made sure it's backwards compatible.


If you use API functions, make sure that you not only replace the 16 bit with the 32 bit declarations/constants/types, but also the variables you use internally. Mostly integers to long (since 16 bit uses integers where 32 bit mostly use longs)


I think that will be the most important things to take care of.


Hope it helps


Crazy D