Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build an exe

Status
Not open for further replies.

crpryor1

Programmer
Mar 25, 1999
21
US
I have one screen, one table no menu. How can i build an exe file? VFP7
 
If the exe will be run on the same machine you wrote the app in all you have to do is click the build button on the project manager and choose win32 executable. If you are trying to build a stand-alone app you will have to take the already built executable and build the program in installshield. When you use installshield you will have to add the stand-alone merge modules to the project as well as all the necessary files to run the app.

Hope this helps.

-Kevin
 
Thanks for the reply. I have several project that run from an exe. But on this one with just a screen and nothing else I cannot get the screen to run. I think I need a read events command, but where do I put it.
 
I use simple code as follows. I find it works quite well. I was having problems quiting using the READ EVENTS.

Start Program
-------------
PUBLIC Glquit && Used to quit program
do while glquit = .f.
do form main
loop

exit

enddo

Screen
------
Exit button click event:
glquit=.t.
thisform.release()
 
In the prg you have set as main in your project:

Code:
Do Form MySCX
Read Events

In your form's unload or destroy event:
Code:
clear events

Or if you prefer, in a command button on the form:
Code:
clear events
thisform.release()


boyd.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top