Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007, 02:13 AM
Junior Member
 
Join Date: Aug 2007
Posts: 10
Default How can I display the list of application in Task Manager.

I want to display all the list of applications in Task Manager.

Anyone can guide me to do that with SWFKIT?

Thanks a lot.
Reply With Quote
  #2 (permalink)  
Old 08-22-2007, 04:15 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: How can I display the list of application in Task Manager.

You can use WMI to do that
Code:
var wbemLocator = new ActiveXObject("WbemScripting.SWbemLocator");
var svc = wbemLocator.ConnectServer("localhost", "root\\cimv2");
var e = svc.execQuery("Select * from win32_process");
trace(e.count);
var enumProcesses = new Enumerator(e);
while (!enumProcesses.atEnd()) {
	var win32_process = enumProcesses.item();
	trace(win32_process.executablePath);
	enumProcesses.moveNext();
}
The following link contains detailed information for the "Win32_Process" object
http://msdn2.microsoft.com/en-us/library/aa394372.aspx
Reply With Quote
  #3 (permalink)  
Old 08-22-2007, 10:02 AM
Junior Member
 
Join Date: Aug 2007
Posts: 10
Default Re: How can I display the list of application in Task Manager.

Thanks a lot for your comment, sir.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:32 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.