Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting down app
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00388798
Message ID:
00388873
Vues:
9
Paul,

You should be able to just call goApp.OnShutDown() like you are trying to do. What I would recommend is placing your ShellExec call before calling goApp.OnShutDown().

HTH

>I've got an app where I need to be able to shutdown the program via a button on a form then start up another program. The code looks like:
>
>goApp.OnShutDown()
>ShellExec(lcApp, "open", "Z", lcAppPath)
>
> The ShellExec works fine, but I get an "Object does not exist" error when using the OnShutDown() call. I'm assuming that's because of the shutdown order (ie. an object the form is depending on is released before the form is). Is there some other way I should be handling this?

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform