Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Sword of Arisan
#6
The chances are that your program is outside of your QBasic directory (i.e. where qb.exe, bc.exe, etc. are). To fix this, there are a few ways:

1) Create a shortcut to QB.exe in your folder and edit its Properties so that the working directory is your project's directory.

2) When you start QB, go to File and then Shell. From there, use MS-DOS to navigate to your project directory (i.e. cd\your\project\dir), then type 'exit' to return to QB.

3) Add a line to the start of your program that uses the CHDIR command to change to your project directory. When you're ready to release the code, remember to comment out that line. Smile
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply


Messages In This Thread
The Sword of Arisan - by jony_basic - 01-26-2006, 02:09 AM
The Sword of Arisan - by shiftLynx - 01-26-2006, 04:05 AM
The Sword of Arisan - by marzecTM - 01-26-2006, 05:31 AM
The Sword of Arisan - by Z!re - 01-26-2006, 05:59 AM
The Sword of Arisan - by jony_basic - 01-26-2006, 08:00 AM
The Sword of Arisan - by shiftLynx - 01-26-2006, 12:09 PM
The Sword of Arisan - by SSC - 01-26-2006, 02:04 PM
The Sword of Arisan - by na_th_an - 01-26-2006, 02:06 PM
The Sword of Arisan - by jony_basic - 04-19-2006, 10:34 AM
The Sword of Arisan - by Sebastian - 04-19-2006, 02:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)