Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to launch Task Manager?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00720758
Message ID:
00720765
Views:
13
>Hi All,
>
>Is it possible to launch Windows Task Manager from VFP? (the same one that you execute by right clicking the taskbar and clicking in "Task Manager" option.)
>And if so, how to make it appear with the "Performance" tab?
! /N taskmgr
This works under NT/2K/XP. You could use SendKeys and AppActivate from the WSH to select the task manager window and select the Performance tab - you'd have to play around to find the correct window title for AppActivate() and which keystroke to send to select the performance tab.
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