Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing Out of FoxPro
Message
 
 
To
06/04/1999 13:29:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00205659
Message ID:
00205669
Views:
14
>Can anyone tell me why when someone runs an application in development to test when they are done they have to close completely out of FoxPro to get a "Do Canceled". I have tried from the command window clear events, close all, clear all,release all etc. but with no luck. When I try to run the application again it will not complile the procedure file if changes have been made to it. This only happens if someone else runs the app and I make changes and try to run it, if I run the app and make changes it compiles the changes ok.
>Thanks

For one thing, it sounds like you are letting users run the app from the same directory as you are developing in {or are in a multi-developer environ and are working on files at the same time). You should do your development in its own development directory along with a development copy of the tables, dbc, etc. You can not compile or recompile an app that has any component in use. If you are in a multi-developer environ, you need some kind of source control.

In my apps I issue the READ EVENTS right after the *DO MENU* command. Just prior to this, I isue an ON SHUTDOWN DO oApp.Shutdown() which has a CLEAR EVENTS included in the procedure. My Shutdown proc cycles through all forms and closes them, closes my tracking tables in the default DS, releases libraries, releases the oApp object. Then the app terminates.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform