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:
00720770
Views:
9
>
! /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.

Thanks, this works:
WshShell = CreateObject("WScript.Shell")
WshShell.Run("TaskMgr")
But as the tab captions don't have hotkeys and the dialog has memory (it displays using the last configuration used) it seems that it will be impossible to show the performance tab programatically.

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform