Results 1 to 2 of 2

Thread: How to Run, Compile, Make EXE on QBASIC

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    honolulu, HI USA
    Posts
    37

    Post

    I know the title is about QBASIC but i am programming a QB Compiler for DESKTOP instead of DOS. This program can open and save. But the only thing is I dunno how to make this codes save the thing and run the codes from QBASIC 4.5 I tried using this codes:
    Private Sub mnuRun_Click()
    Shell("QBASIC.EXE /r ??????????",vbNormal)
    End Sub
    But the problem is, I dunno how to make the directory that would run the code that you are working on....... HELP!!!!!

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    I'm not sure if you know this, but a .bas file is straight-up ASCII. Try opening it in Notepad. Pure and simple. I'm not sure how to do it, but I think that makes saving a file a lot easier. with the play thing, I think it's Qbasic.exe /play c:\whatever.bas. To compile, I'm not quite sure. I have 7.1, not 4.5. However, I'm interested in seeing your finished product.

    good luck,
    bob



    [This message has been edited by Bob Baddeley (edited 01-08-2000).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width