Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot close running foxpro program
Message
 
 
To
10/01/2007 19:59:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01184418
Message ID:
01184528
Views:
23
>For some reason I cannot close my running program. I tried pressing CTRL+ALT+DEL, but there's no VFP6.0 in the list.
>
>How to close this without restarting the pc?

Put this program on your Desktop KillProcess.prg
loCIMV2		= GetObject("winmgmts://localhost/root/cimv2")
loProcesses	= loCimv2.ExecQuery("SELECT * FROM Win32_Process WHERE Name LIKE 'vfp%'")
For Each objProcess in loProcesses
	objProcess.Terminate(0)
Next
Courtesy by Hugo Runea.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform