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!

EXE does not run when desktop icon is clicked

Status
Not open for further replies.

ron108

Programmer
Jun 19, 2002
14
US
I can build an EXE and can run it from the COMMAND box in VFP.

When I left click on the icon the screen flashes and nothing happens. If I go to the Windows Task Manager it shows that it is running.

If build the same project as an APP, the same thing happens.
However if I right click and select RUN for the pop-up menu the APP will run properly.
 
You're probably missing a READ EVENTS in your "main" program. (In the development environment there is always one "live" already!). Do a Avanced Search above, and check out the many threads with this topic (READ EVENTS).

Rick
 
thanx rgbean and shangrilla

the problem was the screen = off setting
 
if you have the screen = off for a startup splash screen. just reset the screen back on in main program after running the spalash screen.

_screen.WindowState = 2 && bring the foxpro background adn title bar
_screen.visible = .t.
Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top