` Printed Icetips Article

Icetips Article



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.



Printed November 21, 2024, 11:31 am
This article has been viewed/printed 35210 times.