VBFOXDEV35
Programmer
Good afternoon. I have an application that runs in the system tray and waits for a particular call from a user or other independent program. If an error occurs, I want the program to basically re-load itself (as if you were to launch it from scratch). In the error handler I return to MASTER, which when finished goes through the call stack, returns to the initial read events line in my main.prg, then exits.
Main.prg
DO FORM frmSplash NAME gfrmSplash LINKED
READ EVENTS
RETURN <-----
the error handler returns here when the return to master is done. Then the program exits.
How can I get the program not to quit and just re-load? The error handler function is in the main program. Should I move the error handler to a different location other than main?
Any information would be greatly appreciated. Thanks
Arty
Main.prg
DO FORM frmSplash NAME gfrmSplash LINKED
READ EVENTS
RETURN <-----
the error handler returns here when the return to master is done. Then the program exits.
How can I get the program not to quit and just re-load? The error handler function is in the main program. Should I move the error handler to a different location other than main?
Any information would be greatly appreciated. Thanks
Arty