qb graphics in windows 7.

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
csc
Newbie
Posts: 3
Joined: Mon Feb 03, 2014 8:47 pm

qb graphics in windows 7.

Post by csc »

Can we execute QB graphics in Windows ? I am using QB45 in windows 7. Used instructions in Windows 7 about running DOS programs to get started , no VMplayer or DOSbox . I don't seem to have DOS6.0 either. I have no problem except for graphic statements.Is there any setting that I missed ?
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: qb graphics in windows 7.

Post by burger2227 »

Is Windows 7 32 bit? NTVDM is not available on 64 bit versions. If so, did you make shortcuts to the programs on the Desktop? I think they need to be compiled as EXE files to run graphics. Also try to run in Compatibility XP mode. Let me know what you get. I've been wondering if QB will work on 32 bit Windows 7.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
csc
Newbie
Posts: 3
Joined: Mon Feb 03, 2014 8:47 pm

Re: qb graphics in windows 7.

Post by csc »

Thanks a lot for your prompt reply . I was stupid in my .BAS . I didn't put SCREEN 2 statement before WINDOW .... (Of course SCREEN 0 before END.) When I did this the program worked beautifully.
I got the clue from your post on ' how to get full screen... '
I would like to share some things I learnt in tackling this . Yes my machine is 32 bit and has windows 7 home basic . It has NTVDM. I put a short cut to QB.EXE on the desktop . I found some nice things from the Properties of the Shortcut. On the 'Screen' tab there is an option 'Full Screen' . On the compatibility tab unchecked 'compatibility with XP' option. Can run BAS with SHIFT+F5.
More power to Quick !http://petesqbsite.com/phpBB3/posting.p ... f=1&t=3812#
csc
Newbie
Posts: 3
Joined: Mon Feb 03, 2014 8:47 pm

Re: qb graphics in windows 7.

Post by csc »

Well, it was jimbo's post on complete screen in XP laptop answered by burger2227.
Post Reply