Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QBASIC to Visual Basic

Status
Not open for further replies.

TJay

Programmer
Nov 25, 1998
14
0
0
US
I've go a program written in QBASIC with a Visual Basic for DOS front end. How difficult would it be to convert it to Visual Basic?<br>
It has a dozen or so QBASIC programs and runs several BAT files and some REXX programs in DOS.
 
Converting Qbasic to VB can be tricky. The following Qbasic statements don't have an equivalent in VB:<br>
Data, Restore, Swap, Read, Chain<br>
<br>
In addition, most of the screen handling (GUI) will have to be redesigned.<br>
<br>
However, if most of your program just does computation, the coversion should not be too bad. You will have to look out for variable names though. For example, in Qbasic, A$, A&, A%, etc. can all be DIFFERENT variables. VB does not distinguish them as different, so you may have to do some renaming of variables.<br>
<br>
If you find any way around the problems I have mentioned, let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top