If you want your BASIC progs to go on running on XP you can do any of the following:-
(a) Get rid of Windows
Wait 2years and CHINA will do this for you
The reason Windows is a mess is it was forced to inherit all manner of conflicting protocols set up with no agreement between hundreds of sw and hw providers
China, is very sensibly, starting out with a BLANK sheet of paper, DEFINING all standards. With a captive domestic customer base of 500 million they will win!
They are basing their new system on Linux.
So, rather than try Linux yourself now, just wait a couple of years and they will doit all for you (forcing Gates, should he survive, to follow suit)

(b) For RIGHT NOW, try Liberty Basic
Find it on a Google search
Download a free trial version
It runs under Windows (Xp and many other flavors)

Dani AI

Generated

As correctly flagged, QBASIC is a legacy 16‑bit/DOS-era program and on XP it depends on the 16‑bit MS‑DOS subsystem (NTVDM). Microsoft documents that NTVDM is provided only on 32‑bit (x86) Windows and is not present on x64 builds, so QBASIC will typically run on 32‑bit XP but not natively on 64‑bit XP without emulation. NTVDM and 16‑bit app support. (learn.microsoft.com)

When QBASIC or other DOS/16‑bit programs fail on 32‑bit XP with messages about Autoexec.nt or Config.nt, the root cause is usually missing or corrupted NTVDM startup files (Config.nt, Autoexec.nt, command.com). Microsoft’s guidance (KB 324767) shows restoring the originals from the install CD/Repair folder or using System File Checker to repair system files; also check whether antivirus/cleanup tools removed them. Restoring from the original source avoids mismatched copies that can introduce other errors. (Microsoft KB 324767 — replicated copy). (users.cs.jmu.edu)

For systems where native NTVDM isn’t available (64‑bit XP or newer Windows) or for a more portable long‑term solution, there are three practical routes: run the original QBasic inside DOSBox (a mature DOS emulator), port/compile QBasic code with QB64 (keeps QBasic compatibility and produces modern binaries), or switch to a modern BASIC like Liberty BASIC (as suggested) for Windows development. DOSBox preserves authentic DOS behavior; QB64 gives the best path for maintaining and distributing old QBasic code; Liberty BASIC is a practical, Windows‑centric alternative. DOSBox, QB64, Liberty BASIC. (dosbox.com)

If you want your BASIC progs to go on running on XP you can do any of the following:-
(a) Get rid of Windows
Wait 2years and CHINA will do this for you
The reason Windows is a mess is it was forced to inherit all manner of conflicting protocols set up with no agreement between hundreds of sw and hw providers
China, is very sensibly, starting out with a BLANK sheet of paper, DEFINING all standards. With a captive domestic customer base of 500 million they will win!
They are basing their new system on Linux.
So, rather than try Linux yourself now, just wait a couple of years and they will doit all for you (forcing Gates, should he survive, to follow suit)

(b) For RIGHT NOW, try Liberty Basic
Find it on a Google search
Download a free trial version
It runs under Windows (Xp and many other flavors)

No way dude :lol: theres a simple overide solution search the WINDOWS folder for and copy it to C:\WINDOWS\System32 and voila!!!!!!!!!!!!!!!! :!: :!: qb will work. :-| Now if you want Qbasic 7.1 or a copy of email me at

Qbasic 7.1
Edit: Removed link to suspected illegal software. PM me if you feel this change was made in error. -Narue

oops Qbasic 7.1 Edit: Removed link to suspected illegal software. PM me if you feel this change was made in error. -Narue

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.