Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Shutdown.. My QuitApp.prg file can't be found...
Message
From
28/10/1998 19:49:25
 
 
To
28/10/1998 17:06:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00151963
Message ID:
00152049
Views:
20
>Hello once again...
>I wrote a small piece of code that runs on shutdown. When I compile my application, move it to its working directory, and then quit, I get an error that says "Cannot find QuitApp.prg".
>Will someone help me?
>
>Thanks.
>
>Jason Nance

Is QuitApp.prg included in the project? What syntax are you using to specify this program as your shutdown routine?

You want to use
ON SHUTDOWN DO QuitApp,

and NOT

ON SHUTDOWN DO QuitApp.prg

The latter looks for a file on disk.

Another way is to define QuitApp as a procedure in the program that specifies ON SHUTDOWN.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform