Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Killing a DOS FTP window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00969520
Message ID:
00969794
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
Hi Patrick,

If you can obtain a handle for this window, then you may try to use the TerminateProcess API.

- call GetThreadProcessId to get the identifier for a process linked to this window
- call OpenProcess to get the process handle
- call TerminateProcess with this handle

FoxPro code sample applying this technique:

Terminating all running applications from a VFP program
http://www.news2news.com/vfp/?example=243
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform