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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 8 - EXE BUILD NOT RUNNING

Status
Not open for further replies.

MSW

IS-IT--Management
Jan 9, 2002
48
US
I've written a very simple one program one form app and I can't figure out why when I build the EXE it starts but will not display the form. I see the EXE running in the task list, processes but no screen. When I run it within VFP it works great..

I've read several doc's on READ EVENTS and CLEAR EVENTS but I guess I'm still not placing them in the right spots.

Here's the code in my startup.prg

DO FORM form2.scx
READ EVENTS

My form2.scx has 2 buttons one that opens the database and dose a browse and an EXIT button with the following code.

CLEAR EVENTS
CLOSE ALL
CLEAR ALL
QUIT

What am I missing here??

Thanks for your help...
 
is your startup.prg set as main?

Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan
 
Make sure that your form's ShowWindow property is = 2 (as Top Level Form.

I would also put this code n the Destroy event of the form.
Code:
CLOSE ALL
CLEAR ALL
CLEAR EVENTS
QUIT  && You don't really need this, it will close the IDE
Regards,

Mike
 
That did the trick...

Thanks again for your help....Scott

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top