` Restarting app (Rick Martin ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Restarting app
2000-10-18 -- Rick Martin
 
Create a global variable called ReStart. In your code when you know you want to close and reopen the applicaiton set ReStart to true. Next Post event:CLoseDown. In the GLobal Embeds go to the Program End embed point. Insert at priority 10000, If ReStart Run('MyApplication.exe') End Your program is just about to exit here, so the two don't collide. This works great for me.


Today is November 21, 2024, 3:58 am
This article has been viewed 35208 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: