954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Quick Basic On Windows XP

Ok, i get Quick Basic, all version (1.1, 3.0, 4.5, 7.1) all because 1.1 doesnt work, so i keep trying then notice, there all DOS executables, and Windows XP doesnt support DOS executables. So i tried Command Prompt, hat didnt work either, technicly im screwed ;P, any ideas on how to do this on XP?

N3wbi3C0d3r
Junior Poster in Training
67 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

Confused what you mean. Windows XP can run a DOS emulator by clicking the Start menu, then Run... and then typing "command.com" (without the quotes, of course)

cscgal
The Queen of DaniWeb
Administrator
19,427 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

When i run the program QuickBasic 7.1 (or any other versions for that matter) it says something about a Windows NT file cannot open the dos file. Never knew there was a dos shell in XP thaught just command prompt.

N3wbi3C0d3r
Junior Poster in Training
67 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

Ok i did Command.com and it gave me
C:\WINDOWS\System32\command.com
C:\WINDOWS\System32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Micosoft Windows applications. Choose 'Close' to terminate the application.

I get something similar when i use QBasic 7.1....

N3wbi3C0d3r
Junior Poster in Training
67 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

Go to properties of QBX.exe, click memory, set EMS to None, everything else to Auto and check uses HMA. You don't set compatibility to windows 95 or 98, and you can check the "close on exit" (optional), and then click OK. The system automatically creates the qbx.pif file that has the same attributes.

You can double click on either qbx.exe or qbx.pif and it will load any size file which some people have had a problem with. These settings works for Qbasic or Qbx.

HarryVanWoerden
Newbie Poster
2 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

I installed QuickBASIC 4.5 (yeah, I know, but it's comfortable) on a P4 2.3G (w/448Megs of RAM) HP Notebook w/ 30Gigs free on the hard drive and running XP.

I first ran this QB version on a P3 166M (both under DOS and within Win3.1)and then on a P4 1.3G w/256Meg of RAM, from within Win98se.

And in both those cases it ran well and smoothly.

On the HP notebook it is SLOW and if I open two BASIC windows at the same time the machine all but stops. With just one open, other programs (and even system functions like "view Folder") become VERY slow - and CPU usage jumps to 100%.

I KNOW that QuickBasic can run smoothly in MUCH less memory than the notebook has available, with less free space on C: and with a much slower processor.

So the question is "what do I have to change to get the sustem to allocate resources in a way that doesn't slow everything down?"

TIA for any suggestions.

ethveg
Newbie Poster
9 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 
Ok, i get Quick Basic, all version (1.1, 3.0, 4.5, 7.1) all because 1.1 doesnt work, so i keep trying then notice, there all DOS executables, and Windows XP doesnt support DOS executables. So i tried Command Prompt, hat didnt work either, technicly im screwed ;P, any ideas on how to do this on XP?

I need it too.

I am sick of how Microsoft makes things obsolete on purpose.

Real-tiner
Posting Whiz in Training
207 posts since Dec 2004
Reputation Points: 11
Solved Threads: 8
 

Quickbasic 4.5 will run under Windows XP home edition as it is on my machine and does run o.k. I don't use it anymore though. The problem with the old DOS programs is the memory restriction (just the 640K) to play with however large the actual physical memory is on your machine. The main reason I stopped using Quickbasic was because I was starting to run into the memory barrier when programming (i.e the programming language plus my code in memory at the same time was sometimes causing the "out of memory" message to appear). This could be got round to some small extent by unloading one of the forms whilst working on the other ones etc. The other problem was the enourmous slowing down effect running a DOS based program has on the other programs/printers on the system. For some reason when running a DOS program it uses practically all processor power causing other programs to slow drastically. Maybe someone else has a technical explanation as to why this happens.
Anyway the bottom line is you would be well advised IMHO to get a more modern programming language.

Hope the above helps.

MrConfused
Light Poster
32 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

Here I've built a program easy to install it will allow you to use any Dos Programs on Windows XP. Heres the Site. :cheesy:

Windows XP Dos FIX

Download DOSWinXP-Fix.exe

divminds
Newbie Poster
15 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 
Ok, i get Quick Basic, all version (1.1, 3.0, 4.5, 7.1) all because 1.1 doesnt work, so i keep trying then notice, there all DOS executables, and Windows XP doesnt support DOS executables. So i tried Command Prompt, hat didnt work either, technicly im screwed ;P, any ideas on how to do this on XP?


Yes; I just happened across your question. I have been running quickbasic4.5
for years and last year decided to try it on xp. 1) start, run, type in cmd.exe,
ok. 2) when the cmd screen and prompt come up , type cd \. 3) change
dir to whereever you have qb.exe .4) type qb.exe 5) when the quickbasic
blue screen appears, right click on title bar then properties to set up your
options for your screen. hope it works for you.

pmclayton1
Newbie Poster
2 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

i know this is a slight diversion from quickbasic45 topic at hand, but someone opened the door with a ref to qbasic71 running on dos with xp. so, if u were to download qb71 and unzip it, u would see a shortcut which will sit nicely on your xp desktop. it opens the blue qb programming window directly, no faults. the link to qb71? normally i would not like to give someone else's links, but heck, he posts here. name is Nazgand. (a "Rings" fan??). find him by googling qb71 windows xp. go for his last link 29 may. hope this helps someone....

gerbil
Industrious Poster
4,211 posts since May 2005
Reputation Points: 239
Solved Threads: 302
 

I still run QB 4 !
It runs fine on XP except the RS232 serial communication COM port; has anybody an idea to fix it ?
Is QB 7 better and where can I download it ?

Herve
Newbie Poster
10 posts since Jan 2005
Reputation Points: 10
Solved Threads: 0
 

@N3wbi3C0d3r

I still use QuickBASIC 7.1 PDS on a regular basis to goof around with. For me it works fine under Windows XP, I use Pro but that shouldn't matter. I don't bother going through a DOS-box to run it, I just open Explorer and browse to \BC7\BIN and execute QBX.exe. When I do something drastic (rearrange my file structure, wipe&reload, etc) I set the paths accordingly and we're off and running. I do get a message after executing QBX.exe complaining about OS compatability but I just hit a key and it works fine. Sometimes it won't open in full screen, my fix for that is to open one of my graphics-oriented apps in SCREEN 9, let it start, and when I quit out the interpreter is in full screen.

The only glitches I have found so far are with the LEFT$, RIGHT$, and MID$ commands, they simply will not work for me when run through Windows XP, either uncompiled through the interpreter or compiled, standalone or not, x86 or alternative, etc. Even though those commands were crucial to a few programs I wrote (like my sweet MP3 organizer that generates an HTML page with clickable links to songs, makes playlists automatically, etc in about 3 seconds) it still works fine for everything else I do.

I have not noticed it slowing down other tasks at all, and an unexpected side effect is that most of my apps run much faster on XP! I have written many programs that are pretty unkind to Bill Gates (for no other reason than he's almost infinately richer than me...) that load up a bitmap of him and turn each pixel in to a PSET, then he flies apart and bounces all over the screen, or one where I set fire to his head. These run SO MUCH faster than under Windows 98 or even pure DOS on the same machine.

Just my 2 cents, I have found very little reason to complain about QuickBASIC 7.1 PDS under XP. Older versions may not work so well, try to track down 7.1 as it was the last of the breed.

MaxImuM

MaxImuM
Newbie Poster
1 post since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

To get large programs to load using PDS 7.1 this is the only
thing that has ever worked for me.
Edit c:\windows\system32\config.nt
Add this line:
EMM=RAM

MikeSpud
Newbie Poster
1 post since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

I am using QB.exe in windows xp. When I run QB the screens colors are green instead of blues and multicolor on the prompts. I have changed the emu, config.nt, properties to no forced colors ect. I can see the regular olors in safe mode but can't compile my programs.
Thanks for your time.
David

dnick
Newbie Poster
8 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Ok i did Command.com and it gave me C:\WINDOWS\System32\command.com C:\WINDOWS\System32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Micosoft Windows applications. Choose 'Close' to terminate the application.

I get something similar when i use QBasic 7.1....

an you help me. When I run qb.exe in windows xp I get a green screen and multicolors on the prompt?
Thanks

dnick
Newbie Poster
8 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

dnick

you can set all your screen configurations from a right click on the very top
bar at the top of the qb screen.

pmclayton1
Newbie Poster
2 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

dnick

you can set all your screen configurations from a right click on the very top bar at the top of the qb screen.


I've tried screen oprion but these colors are like a kalidescope. Each letter in every word is a different color. It works in safe mode but I can compile a program. It complains about the pif or something. thanks very much for your time and attention.
David

dnick
Newbie Poster
8 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Quickbasic 4.5 will run under Windows XP home edition as it is on my machine and does run o.k. I don't use it anymore though. The problem with the old DOS programs is the memory restriction (just the 640K) to play with however large the actual physical memory is on your machine. The main reason I stopped using Quickbasic was because I was starting to run into the memory barrier when programming (i.e the programming language plus my code in memory at the same time was sometimes causing the "out of memory" message to appear). This could be got round to some small extent by unloading one of the forms whilst working on the other ones etc. The other problem was the enourmous slowing down effect running a DOS based program has on the other programs/printers on the system. For some reason when running a DOS program it uses practically all processor power causing other programs to slow drastically. Maybe someone else has a technical explanation as to why this happens. Anyway the bottom line is you would be well advised IMHO to get a more modern programming language.

Hope the above helps.

Just a quick note for those of you too young to remember the early days: my first home machine was a TRS-80 (from Radio Shack, with the monitor and keyboard all inside a big gray shell.)

It had just 64K of memory (16 bits); 16K was ROM - unusable by anyone except the CPU ("jump addresses" and such); and the BASIC editor and interpreter (where you numbered the lines, before QuickBasic) took another pile of memory, and I wrote a word-processor, complete with wrap-around working in real time, even on the "pull-up" when you deleted bytes in one line, and other bells-and-whistles probably useful only to me, and STILL had 16K to store the document in!

Now that memory is cheap and CPU speeds are so high nobody even bothers to write efficient code.

"When I was a boy ..."


PS: I'm still hoping for a fix to reduce CPU usage when running QuickBASIC 4.5 under XP!

ethveg
Newbie Poster
9 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

Just a quick note for those of you too young to remember the early days: my first home machine was a TRS-80 (from Radio Shack, with the monitor and keyboard all inside a big gray shell.)

It had just 64K of memory (16 bits); 16K was ROM - unusable by anyone except the CPU ("jump addresses" and such); and the BASIC editor and interpreter (where you numbered the lines, before QuickBasic) took another pile of memory, and I wrote a word-processor, complete with wrap-around working in real time, even on the "pull-up" when you deleted bytes in one line, and other bells-and-whistles probably useful only to me, and STILL had 16K to store the document in!

Now that memory is cheap and CPU speeds are so high nobody even bothers to write efficient code.

"When I was a boy ..."

PS: I'm still hoping for a fix to reduce CPU usage when running QuickBASIC 4.5 under XP!


I only have about 3 - 4 small programs that are important to me. I dread learning another language for something so simple.Regards Dnick

dnick
Newbie Poster
8 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You