Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put an Icon in a WSH Script?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00478045
Message ID:
00483186
Vues:
39
Ed, this isn't working... I am running Excel 2000 (and I used the ResKit tool PULIST to find out the PID is 378). From the command window I did:
Declare Short TerminateProcess in Win32API as KillProc ;
Integer hProcess , Integer uExitCode
nResult = KillProc(378,0)
and nResult returns "0" and Excel is not killed.

How can I get the PID from inside VFP and how do I integrate PostMessage() since I just want to blast-kill Excel?

Thanks.


>It's preferable to use PostMessage() or SendMessageTimeout() rather than SendMessage(), since PostMessage() returns immediately, and SendMessageTimeout
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform