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!

Exe file will not start form

Status
Not open for further replies.

Ashr

Programmer
Apr 19, 2005
46
HU
I created a form which is working fine , when creating an project & putting in it the form , after creating exe the exe will start & terminate immediately , I don't know why , be happy to get some advice.

Thank's
 

Take a look at faq184-4232.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thank's mgagnon , it's working but..... when closing the form/screen after finishing working with the form it's closing himself but the window of VFP remains open , is it possible to activate the form on XP desktop without VFP window meening to see only the window of the form alone.

Thank's again.
 

Read up on Top-Level application and do a search on "Hide main window" in the help file.
There are a few steps to take to create a top-level applications, not just a single line of code.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
This should be the problem of missing

READ EVENTS and CLOSE EVENTS

In the program,

DO FORM XXX
READ EVENTS


In the "UNLOAD" of the form,

CLOSE EVENTS
 

cslawtom

It's not CLOSE EVENTS, it's CLEAR EVENTS.

Put that in the Unload (or Destroy) and it will take you to the line of code after the READ EVENTS. You can place any cleanup code there, or simply quit the application.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top