Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop app from shutting down
Message
De
10/06/2003 01:05:45
Michael Gass
Instructional Software, Inc.
Kirkland, Washington, États-Unis
 
 
À
09/06/2003 13:55:54
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00797857
Message ID:
00798236
Vues:
24
Steve -

It's not a small project so going through it by trial and error could take a week or two. I was hoping someone had run into the same problem and had a quick fix. The beforeshutdown idea is a good one. I'll give it a try. In the mean time I've temporarily abandoned the idea of limiting the VFP Window in the executable for the sake of time and I'm moving ahead. Not having the VFP window in the background would make the application much classier. I'll continue working on the problem when I'm not under a deadline. Thanks Steve!


>Again, I think you have some interferring code somewhere.
>
>Just for example, I opened the sample project, I opened the orders form. and changed the showwindow property to 2, top level. Compiled it, opened the orders form and closed it. THe application remained.
>
>Normally, when I have a problem like that, I will copy forms and code to the sample app, one piece at a time until the problem occurs there. It's a bit of trial & error troubleshooting but sometimes it's the only way.
>
>The only other thing I could think of is a workaround. You could add code to your appapplication.beforeshutdown When your top level form closes, record a flag, then in the beforeshutdown code: if the flag exists, reset the flag and return .f. . If beforeshutdown returns .f. the app should not close.
>
>good luck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform