Qbasic to .exe
Solved
tonyhawk
Posted messages
22
Status
Member
-
Microsoft_1 -
Microsoft_1 -
Bonjour,
I wonder how to create a .exe from a qBasic routine (.bas)?
Thank you
I wonder how to create a .exe from a qBasic routine (.bas)?
Thank you
Configuration: Windows XP Internet Explorer 6.0
7 answers
Good evening
To create an exe from a QBasic program, you need a compiler like Microsoft's QuickBasic or Borland's Turbo Basic. Or even Visual Basic with some adjustments.
For the first two, they are old software that may be available for free download; do a search on Google. However, you will have programs that run under DOS.
With Visual Basic, you can create nice applications that run under Windows. Visual Basic Express is available for free on the Microsoft website.
Have a good evening.
To create an exe from a QBasic program, you need a compiler like Microsoft's QuickBasic or Borland's Turbo Basic. Or even Visual Basic with some adjustments.
For the first two, they are old software that may be available for free download; do a search on Google. However, you will have programs that run under DOS.
With Visual Basic, you can create nice applications that run under Windows. Visual Basic Express is available for free on the Microsoft website.
Have a good evening.
Well, you must first have the version of QBASIC QBASIC 4.5
To get it, go to www.qbasic.fr
then, go to the Execution menu (you need to write in the window first) and then click on create an EXE file
(I am working on this while responding to the question)
Save your file, enter the access path and the name of the EXE."
There you go, it should work!
If it gives you "Input/output error on the disk", let me know.
:lol:
To get it, go to www.qbasic.fr
then, go to the Execution menu (you need to write in the window first) and then click on create an EXE file
(I am working on this while responding to the question)
Save your file, enter the access path and the name of the EXE."
There you go, it should work!
If it gives you "Input/output error on the disk", let me know.
:lol:
or you can go to Execution (if you have the Qbasic software) and create an executable. ;)
--
Be hard on yourself, but generous with others...
--
Be hard on yourself, but generous with others...
Hello,
To respond to Nyxemis, I seem to remember that QBasic 1.1 was provided with Windows 3 to replace the GW-BASIC from MS-DOS.
These two interpreters could not create executables, but one could use them via the command line.
For example: c:\qb\qb c:\progs\test.bas
We would write a small TEST.BAT file with this line, and it would run like a MS-DOS command or by double-clicking the .bat file through the Windows Explorer as you would with an EXE.
You just had to finish the basic program with the SYSTEM instruction to exit QB and return to the operating system.
It was prehistoric times, but we managed with what we had.
Have a nice day everyone.
To respond to Nyxemis, I seem to remember that QBasic 1.1 was provided with Windows 3 to replace the GW-BASIC from MS-DOS.
These two interpreters could not create executables, but one could use them via the command line.
For example: c:\qb\qb c:\progs\test.bas
We would write a small TEST.BAT file with this line, and it would run like a MS-DOS command or by double-clicking the .bat file through the Windows Explorer as you would with an EXE.
You just had to finish the basic program with the SYSTEM instruction to exit QB and return to the operating system.
It was prehistoric times, but we managed with what we had.
Have a nice day everyone.