Qbasicnews.com

Full Version: QB won't work!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm using Windows XP Pro, and When I run any QB(4.0-7.1), And I run the program I've written, Once it's done, I push a key, and I get a blank screen. What do I do :???:
Quote:I'm using Windows XP Pro, and When I run any QB(4.0-7.1), And I run the program I've written, Once it's done, I push a key, and I get a blank screen. What do I do :???:
When I run QB programs, I run them from the MSDOS command line. Once they're done, I'm back on the MSDOS command line.

I have a feeling that you are running your programs right out of Windows, and you're ending up back in Windows. Why the blank screen, I don't know.
*****
so, I need to run QBasic from DOS? How do I do that??
if there is a file in your qb files call Q.bat, try running it. Otherwise open up command prompt it ahould be in start -> program files -> Accessories

if not found there try C:\WINDOWS\system32\cmd.exe
if that fails do a search for cmd.exe

once your in cmd type in "cd C:\qb45\qb.exe" (with out the "" of course) or where ever your qb program is.
o_O it doesn't work. with:

cd C:\QB45\QB.EXE
I get an error, "The directory name is invalid"

with:

cmd C:\QB45\QB.EXE
I get a message, "Microsoft Windows XP [Version 5.1.2600]
© Copyright 1985-2001 Microsoft Corp."

what am I doing wrong? :o
I suspect that you didn't put the right filepath in. Instead of C:\QB45\, use whatever directory that you installed QB to.
I downloaded it into THAT DIRECTORY
Start Menu -> Run -> cmd [enter]

cd \qb45 [enter]
qb [enter]
ok.

but, when I hit ALT + ENTER, and hit it again to go back to the smaller window, I get a blank screen. :???: :???: :-?
ok, I found a SIMPLE solution that I should've thought of -.-

I right click QB.EXE, click properties. Then, I choose Compatibility, and choose to run it in compatibility mode with 98. It works!

Thank you for trying, people Wink
Pages: 1 2