Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an application
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00082879
Message ID:
00082885
Views:
28
Ashley,

Check out the help for ON SHUTDOWN to close your application when the user clicks the close box. Basically, you do ON SHUTDOWN MyProg, then put the QUIT command in MyProg. This allows you to do any necessary cleanup or to keep the application from exiting at certain points.

To keep from running multiple instances of your application, check out the Microsoft knowledge base article at http://support.microsoft.com/support/kb/articles/q109/0/59.asp

I think there's also something in the knowledge base here at the UT.

>Hi,
>
>I'd like to know if I can make my application close when the Main Visual Foxpro screen close icon is clicked.
>
>Also would appreciate suggestions as to how to stop multiple instances of my application from being executed.
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform