Qbasicnews.com

Full Version: Help Needed with Make EXE file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I'm new to this forums.

I made a personality test using QuickBASIC 7.1 and I wanted to make it a .EXE file to distribute it to friends but I always get this error:

BC C:\QBX\BIN\PERSONA.BAS/0/Fs/Lr/FPi/T/C:512;
Cannot find file (BC.EXE). Input path:

I have no clue what do do. Please help.

Thank you for your time.
it means it can't find BC.EXE


are you sure you have everything?
The problem is, in all probability, that you have the .bas file in one directory, and the qb.exe (or QuickBASIC.exe) file and all its component files in another directory. The simplest, easiest and most foolproof way of creating your .exe file is to first put your .bas file in the same directory as the one containing qb.exe, BE.exe, and all the component files. Then, when you invoke qb.exe, then the .bas file that is in that same directory, you can proceed to make your .exe file with no "can't find" such and such a file, and you will get your .exe file seamlessly and very, very painless! Try it, and do let us know if that fixed your problem.
You don't need to do that.

1.- In QB, go to Options and Configure Paths. Fill in the four boxes with the folder you have installed QB in. Be sure that the path doesn't contain folders with large filenames.

2.1.- If you have Windows 9X/Me edit AUTOEXEC.BAT and add ";C:\QB" at the end of the line that begins with "PATH" or "SET PATH". Change C:\QB to the path you have installed QB in.

2.2.- If you have Windows 2000 or XP right-click My PC, select Properties, click on "advanced options" tab, click on a button labeled "Environment Variables", locate the "PATH" variable in the lower box (labeled "System Variables"), click on the modify button, and add ";C:\QB" at the end. Change C:\QB to the path you have installed QB in.

1 will make QB find its files.
2 will make QB executable from any folder using the command line.
Whenever I try making an .exe
I always get : Can't find QBX.EXE

So I went ONLINE and downloaded 7.1 again

I installed the whole thing in a folder called: Qbasic
(I unzipped it too so you know or ran the .exe)

Looked in the Qbasic folder I made and QBX.exe wasn't there.

How am I going to create an .EXE without this? Anybody know
where I can get it?
the PDS 7.1 distro comes in sub-folders. The QBX.EXE file (the IDE), the compiler BC.EXE, LINK.EXE and the librarian LIB.EXE are located in a subfolder called "BIN". Check if you have that.
Interesting.

Don't remember seeing a sub-folder with the Qbasic files after installation. I may have downloaded something different.

Either way, I'll download 7.1 again and check to see if I can find that sub-folder called BIN.
Ya i have the same problem guys and its getting annoying. I tried the things you all said and still nothing, Im so confused cuz it worked before and i didnt change anything and now it wont work. HELP!!
Actually, BC and LINK are in the BINB directory (at least, they are in my installation). Try there.
O.K., Zelina, let's start with this. If you have all the files listed below, and you write a .BAS file that you place in that same directory, you can just click on Run, Make Exe File, and chose Stand-Alone exe File. That should produce the required .exe file, plus one more, an .obj file. You can proceed to delete the .obj file. The.exe file should now run fine.

Let us know if you were successful.

These are the 21 files in my QuickBASIC 4.5 directory:
BC.EXE
BCOM45.LIB
BQLB45.LIB
BRUN45.EXE
BRUN45.LIB
DESC.SDI
LIB.EXE
LINK.EXE
MOUSE.COM
MOUSE.INI
QB4UTIL.BI
QB4UTIL.LIB
QB45ADVR.HLP
QB45ENER.HLP
QB45QCK.HLP
QB.BI
QB.EXE
QB.INI
QB.LIB
QB.QLB
QB_EDR.LIB