Quick Basic for Windows 7
Moderators:Administrator, Global Moderator
-
- Newbie
- Posts:5
- Joined:Thu Jan 07, 2010 7:53 am
I have an old version of Microsoft Quick Basic and find now it will not work with the 64 bit Windows 7 operating system. Does the downloadable version on this website work with Windows 7?
- BurgerBytes
- Jr. Member
- Posts:22
- Joined:Thu Aug 06, 2009 7:44 pm
- Location:Pittsburgh, PA, United States
Probably not. You will need DOSBOX to run fullscreen programs in QB.
SCREEN 0 windowed programs should run ok.
OR you could try QB64 compiler. It can run QB code to make an EXE file. Just write the code in the IDE or load a bas file. QB64 also has some features such as sound file playing, fast and easy picture file loading and font loading.
www.QB64.net
SCREEN 0 windowed programs should run ok.
OR you could try QB64 compiler. It can run QB code to make an EXE file. Just write the code in the IDE or load a bas file. QB64 also has some features such as sound file playing, fast and easy picture file loading and font loading.
www.QB64.net
Get my QB demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip
-
- Newbie
- Posts:5
- Joined:Thu Jan 07, 2010 7:53 am
-
- Newbie
- Posts:5
- Joined:Thu Jan 07, 2010 7:53 am
- BurgerBytes
- Jr. Member
- Posts:22
- Joined:Thu Aug 06, 2009 7:44 pm
- Location:Pittsburgh, PA, United States
-
- Newbie
- Posts:5
- Joined:Thu Jan 07, 2010 7:53 am
- BurgerBytes
- Jr. Member
- Posts:22
- Joined:Thu Aug 06, 2009 7:44 pm
- Location:Pittsburgh, PA, United States
You can't copy code here? Open the BAS file with Notepad or other text editor. Copy sections that are relevant problems first. Then open a new post and click the Code button at the top of the post area:
I can't help if you can't tell me anything!
PS: ALWAYS save your BAS files as text readable in QB45! Just open the file in QB45 editor, click Save As, check the text readable option and save.
Code: Select all
Paste your code here!
Then click the Code* button again
PS: ALWAYS save your BAS files as text readable in QB45! Just open the file in QB45 editor, click Save As, check the text readable option and save.
Get my QB demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip
-
- Newbie
- Posts:5
- Joined:Thu Jan 07, 2010 7:53 am
QB on Vista and Windows 7
DOSBOX 0.74 (the latests and always improving) supports 32 and 64 bit on Vista and Windows 7.
They have a FAQ and Compatibility Section on their site and the DOC files are good.
I don't have either so can't test, but what they claim is usually spot on. So fiddle with their config file for fullscreen etc, set the [autoexec] (under config almost the last line) to start QB or try any DOS.exe program.
I tried the following on XP PRO SP2 and it worked, I also tried a Menu1.BAT which runs 23 games and includes a call to menu2.BAT and menu3.BAT and it also worked. (I have a number of old shareware games on my D: drive). This meant I was running 69 games/programs and Using a MENU you can run just about every 16 bit program on your computer with only one invocation of DOSBox
*************************
The instruction to run them is remmed out #=REM
# mount c d:\Games
# c:
# Menu1.BAT
# exit
mount c c:\QB45
C:
QB /L
exit
*************************
BASIC lives on Come to think of it DOSBOX resembles a VM for 16 bit DOS programs.
They have a FAQ and Compatibility Section on their site and the DOC files are good.
I don't have either so can't test, but what they claim is usually spot on. So fiddle with their config file for fullscreen etc, set the [autoexec] (under config almost the last line) to start QB or try any DOS.exe program.
I tried the following on XP PRO SP2 and it worked, I also tried a Menu1.BAT which runs 23 games and includes a call to menu2.BAT and menu3.BAT and it also worked. (I have a number of old shareware games on my D: drive). This meant I was running 69 games/programs and Using a MENU you can run just about every 16 bit program on your computer with only one invocation of DOSBox
*************************
The instruction to run them is remmed out #=REM
# mount c d:\Games
# c:
# Menu1.BAT
# exit
mount c c:\QB45
C:
QB /L
exit
*************************
BASIC lives on Come to think of it DOSBOX resembles a VM for 16 bit DOS programs.
Last edited by I Daniel on Tue Sep 14, 2010 4:03 pm, edited 4 times in total.
QB on Windows 7 and Vista
Having looked around I found FBC - The Freebasic compiler - which compiles QB4.5 programs to 32 bit. I tried QB64 but wow what a monstrous program you end up with. One QB compiled to 818Kb plus a lot of dependencies, which added up to 6,2Mb which means it is not a stand-alone. The same program compiled to 107Kb as a stand-alone with FBC. The QB4.5 stand-alone compiled to 64Kb, the smaller size being attributable to the smaller LIB without all the FBC goodies.
QB64 does however eliminate the problems of SCREEN 7 and 13 which exist on new Nvidia cards. ie. No or a tiny little Screen on QB and FB. The dependencies are only loaded once and so should not really be a problem if other code is written for QB64.
Vista just says FULLSCREEN not available and your program does not run. DOSBox on VISTA is the only solution.
IMO I would say keep on programming in QB but use the added features of FBC. Most of the enhancements, BUT NOT ALL, if you search far and wide enough, are available in QuickLibraries that can be combined to give Mouse, Music, Modems etc.
Check out the downloads in QBC there you will already find some nice things.
Compiling with FBC may solve the problem where 32 bit systems are in use, but not the Nvidia related Screen 7 & 13 problem. I am not clued up but I think both Vista and Windows 7 come in 64 and 32 bit.
QB64 does however eliminate the problems of SCREEN 7 and 13 which exist on new Nvidia cards. ie. No or a tiny little Screen on QB and FB. The dependencies are only loaded once and so should not really be a problem if other code is written for QB64.
Vista just says FULLSCREEN not available and your program does not run. DOSBox on VISTA is the only solution.
IMO I would say keep on programming in QB but use the added features of FBC. Most of the enhancements, BUT NOT ALL, if you search far and wide enough, are available in QuickLibraries that can be combined to give Mouse, Music, Modems etc.
Check out the downloads in QBC there you will already find some nice things.
Compiling with FBC may solve the problem where 32 bit systems are in use, but not the Nvidia related Screen 7 & 13 problem. I am not clued up but I think both Vista and Windows 7 come in 64 and 32 bit.
Last edited by I Daniel on Fri Sep 17, 2010 3:06 pm, edited 4 times in total.
Passions: MyWife&Family QB4.5 Electronics Computers Hypnosis Humanity AncientHistory ReligionS. Psychology, Yoga Radio-Rx/Tx
(I trade you my mind)
(I trade you my mind)
qb on WIN 7 and VISTA
The config file is no longer in the same folder as DOSBOX (because of some WINDOWS security/convention)
I used SEARCH to find it and then used WORDPAD to make the changes.
Notepad or any other word processor will do but remember to save it as a DOS/ASCII file. (I without thinking just clicked SAVE and ended up with a RTF file which I then had to redo. (Stop laughing)
*EDIT: 07:00 GMT 2010-09-12
In the DOSBox 0.74 folder you will find "DOSBox 0.74 Options.bat"
This Batch file is the correct/much easier way to get to the Config file as it opens the Config file in Notepad.
**EDIT: 08:15 GMT 2010-09-12
KiyoteWolf on the FB forum uses a GUI - D-Fend - to set the options.
On 2010-07-02 there was a new release of D-Fend Reloaded (Version 1.0)
It can be downloaded from:
http://dfendreloaded.sourceforge.net/
I used SEARCH to find it and then used WORDPAD to make the changes.
Notepad or any other word processor will do but remember to save it as a DOS/ASCII file. (I without thinking just clicked SAVE and ended up with a RTF file which I then had to redo. (Stop laughing)
*EDIT: 07:00 GMT 2010-09-12
In the DOSBox 0.74 folder you will find "DOSBox 0.74 Options.bat"
This Batch file is the correct/much easier way to get to the Config file as it opens the Config file in Notepad.
**EDIT: 08:15 GMT 2010-09-12
KiyoteWolf on the FB forum uses a GUI - D-Fend - to set the options.
On 2010-07-02 there was a new release of D-Fend Reloaded (Version 1.0)
It can be downloaded from:
http://dfendreloaded.sourceforge.net/
Passions: MyWife&Family QB4.5 Electronics Computers Hypnosis Humanity AncientHistory ReligionS. Psychology, Yoga Radio-Rx/Tx
(I trade you my mind)
(I trade you my mind)