Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

QBASIC to Visual Basic

QBASIC to Visual Basic

QBASIC to Visual Basic

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?
It has a dozen or so QBASIC programs and runs several BAT files and some REXX programs in DOS.

RE: QBASIC to Visual Basic

Converting Qbasic to VB can be tricky. The following Qbasic statements don't have an equivalent in VB:
Data, Restore, Swap, Read, Chain

In addition, most of the screen handling (GUI) will have to be redesigned.

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.

If you find any way around the problems I have mentioned, let me know.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close