How do you make .bas to .exe

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
jasonkidd007
Newbie
Posts: 8
Joined: Thu May 11, 2006 7:34 pm

How do you make .bas to .exe

Post by jasonkidd007 »

2
Last edited by jasonkidd007 on Sun Jul 31, 2022 12:10 pm, edited 1 time in total.
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

if you have qbasic 4.5 it has a .bas to .exe feature
under the run menu....

you can make a .exe that runs as a complete file
or you can make a .exe that requires brun45.exe
to be included as a 2nd file with the .exe

for a FREE installation maker go to www.clickteam.com
the have a nice simple one for you to use.
jasonkidd007
Newbie
Posts: 8
Joined: Thu May 11, 2006 7:34 pm

Post by jasonkidd007 »

i tried doing that. but it says i need brun45.exe and i couldn't find it. are there alternatives?

thanks
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

U could use a .bat file... But the thing you're actually asking is to run a file, which is the installer, and then remove it... you can't remove a program at running time... as long as it has not ended... it is still running... so still having to remove the file... is still running time... what you could do is make installer, which will install the file for e.g. game.exe
which will install the real thing... and then let your installer remove the game.exe-file
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

jasonkidd007 wrote:i tried doing that. but it says i need brun45.exe and i couldn't find it. are there alternatives?

thanks
okay maybe i didnt word that right

when you go to the run menu to make a BAS an EXE
you'll have a popup come up thats gives you 2 choices

1. make an EXE that NEEDS brun45.exe

2. one that can be run WITHOUT anything else(standalone)


if you pick the first one you'll NEED to run the program
in the same directory as brun45.exe which should be
in your qbasic directory if you have version 4.5...

generally its just best to do number 2. then you dont have
to worry about it...


IF perchance you really dont have brun45.exe its on the net
you can find it and get it and put it in your qb area...or
go download somewhere a fresh version of qbasic 4.5(qb4.5)
it should have it with it...
User avatar
Anima
Coder
Posts: 31
Joined: Tue Aug 23, 2005 7:25 pm
Location: Fort Wayne, IN
Contact:

Post by Anima »

uh qbasic.com has some compilers, that is if you don't have qbasic 4.5 or higher.
My site = animaproductions.us.tf
jasonkidd007
Newbie
Posts: 8
Joined: Thu May 11, 2006 7:34 pm

thanks guys

Post by jasonkidd007 »

a great thanks to everyone who helped me. i finally accomplished it
Post Reply