Microsoft Quick Basic to Visual Basic conversion
Microsoft Quick Basic to Visual Basic conversion
(OP)
Hi,
I'm new to the site and new to Visual basic 6. I realize that there are significant differences between the programs. My problem is that I have developed a lot of basic code and would like to use some of it in the VB environment. Does anyone have any programs that would make conversion easier. Syntax checking, suggested VB equivelents, etc.
Thanks in advance for any help you could provide,
ocloner
I'm new to the site and new to Visual basic 6. I realize that there are significant differences between the programs. My problem is that I have developed a lot of basic code and would like to use some of it in the VB environment. Does anyone have any programs that would make conversion easier. Syntax checking, suggested VB equivelents, etc.
Thanks in advance for any help you could provide,
ocloner





RE: Microsoft Quick Basic to Visual Basic conversion
Input-Output From-To the screen.
But there are much more functions in VB6, I.E. to validate a date just use IsDate(myDate$).
I sugest you to read the VB6 help
RE: Microsoft Quick Basic to Visual Basic conversion
QB is based on sequential code, keyboard input and text output
VB6 is based on event-driven procedural code, mouse/keyboard input and graphical output
Although small snippets of code can be (fairly) easily translated, the whole shape of the program and layout will (should) be vastly different.
Start with a good book on Beginners VB to get your head round event-driven code before you start your task. I guess you'll find it easier to start from square one, and only aim to translate any clean functions or subroutines into VB
RE: Microsoft Quick Basic to Visual Basic conversion
I do programming for a hobby and am a novice but I'm pretty sure you cfan salvage some of the code but not all.
Good day
Gerald Austin
Iuka, Mississippi
http://www.weldinginspectionsvcs.com
RE: Microsoft Quick Basic to Visual Basic conversion
I also once converted a QB application to VB6.0 and it did not work straight away. The QB application code had to be broken up into event procedures that were either called by the user or a timer.
RE: Microsoft Quick Basic to Visual Basic conversion