Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Quit an Application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00740696
Message ID:
00769817
Vues:
27
What is in your ON SHUTDOWN code?

>Hi Jos
>I am having a problem "on Shutdown" from certain PC's that install an .exe that I developed. The PC's that are having the trouble appear not to have any version of FP installed. What happens is . . . after ON SHUTDOWN and CLEAR EVENTS and before going back to the desktop, the user gets a "program error" dialog box saying "File does not Exist". When you click "Ignore" it then goes to the desktop. It looks like a MS dialog box because it has the Windows "banner" in upper left hand corner of dialog box.
>I tried the Win32API ExitThread() in the on Shutdown routine and it closed me out to the desktop. Now cannot open the project. When trying to open the project I get "File Access Denied" which means the project file is write protected. Used ATTRIB in DOS and the Read-only attribute isn't set. Any idea how to remove the "Write protection"?
>All help appreciated.
>Bill Wright
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform