Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing an application
Message
From
12/04/2005 04:11:10
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
 
To
12/04/2005 04:05:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003603
Message ID:
01003614
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
If in the main prg of the called app you add;

ON SHUTDOWN DO AppExit

and

PROCEDURE AppExit

* close down any active forms
FOR i = 1 TO _SCREEN.FORMCOUNT
IF ( _SCREEN.FORMS[1].QUERYUNLOAD() )
_SCREEN.FORMS[1].RELEASE()
ENDIF
ENDFOR

CLEAR EVENTS
QUIT

RETURN

Does this help?


>I cannot kill it from Task Manager because the application I want to kill is called from a main exe program. So in Task Manager I just see it (the main program).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform