Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Callling shutdown
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00086398
Message ID:
00086420
Vues:
23
>I have a program which updates four files and takes about
>5 minutes to run which is in the startup files so that
>it runs whenever anyone signs on. Would someone tell
>me if there is a command in FoxPro by which I can call
>for shutdown at the end of my program so that the
>client can finish her day by douoble clicking the icon
>for this program and leaving the computer to run the
>program and shut itself down.

Derek,
Look in the Win32API.hlp file (Fox 2.6 & 3.0). There is a function in there to shut down the PC. The function is ExitWindows or ExitWindowsEx. I have used this but failed to get it working properly. Apparently due to permissions. If you get it working, I would like to see the command combination you use.
Regards,
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform