Qbasicnews.com

Full Version: .EXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I used to program using GWBasic in the old days.......
I just put together a simple program in QB 45......
Now for the first time I turned a program into an EXE.
I always thought an EXE was a stand alone file.
Sure my program works as an .EXE, but if I drag it to the desktop, it opens a window and asks me for a path.
I'm thinking if it needs a path on my PC what chance do I have of emailing a program to a friend and expecting it to work.

SeanF
First of all, activate full menues.

When you are gonna compile, in the popup window asking you for the EXE file name, be sure to check "Standalone EXE file".
is because, otherwise, your .EXE needs the runtime library file BRUN45.EXE. That's what that prompt is prompting you for; it wants to know where that file is. (What you made was a "runtime executable.") Alternatively, put BRUN45.EXE in a directory listed in your path (or change your path setting to include where the file is).
Big Grin

I would like to thank you two guys for the reply regarding .EXE...
I read it, tried it and it works when I saw how I had overlooked a simple tick......... well lets just say I'll forgive you all for thinking I'm stupid........

Regards from the Freeze
.