Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starting Task Manager programatically
Message
From
03/11/2000 00:28:40
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00437478
Message ID:
00437498
Views:
14
>We've got some poller machines that we remotely administer via pcAnywhere.
>
>I kicked off a VFP program that failed to terminate and there is a hung VFP session waiting to get a CLEAR EVENTS that just ain't never gonna happen.
>
>For some reason that I haven't tracked down yet the send Ctrl-Alt-Del to host button is disabled. So I can't get a Ctrl-Alt-Del to the machine to bring up the task manager. I can restart the machine except that the hung VFP session is preventing that from succeeding.
>
>What I'd like to find out is if there is an EXE or API call that I can make that would bring up the dialog so I can terminate the VFP app? I haven't found anything yet in an MSDN/Wiki/UT search.
>

NT/2K RUN /N TASKMGR

Does not work under Win9x; there's a variant, though:

RUN /N TASKMAN

Gives you an applet that can kill an app but not processes or threads like you'd wish.

>TIA
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform