473,508 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to read System's taskmanager details using javascript or ActiveX object from js

2 New Member
If we want to know the processes or applications present in System's taskmanager we can do that using java RaunTime object. But how can we do that at client side using javascript?
Sep 14 '07 #1
4 2115
gits
5,390 Recognized Expert Moderator Expert
hi ...

welcome to TSDN ...

you cannot and should not do that with javascript ... its purpose is to do things WITHIN the browser ... not outside ... imagine a webpage that gains control to your system ...

i know that sometimes there are applications besides those 'webapps' and that have special requirements ... and in that case you have to have a strict inranet-environment and there might be possibilities with ActiveX or advanced MOZ-privileges ... to gain control to the users system ... but: your application must have or gain that privileges ... you cannot do that with standard javascript and everything you would do is strictly browserspecific ...

kind regards
Sep 14 '07 #2
rnd me
427 Recognized Expert Contributor
the easy way is something like Gadget Development Overview


if you want more flexibility,

Windows Script Host


this a a vbscript version, you can rewrite it in jscript...
Expand|Select|Wrap|Line Numbers
  1. Set colCompSys = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
  2. For Each objCS in colCompSys
  3.   WScript.Echo "  NumberOfProcessors: " & objCS.NumberOfProcessors
  4.   WScript.Echo "  NumberOfLogicalProcessors: " & objCS.NumberOfLogicalProcessors
  5.   WScript.Echo "  PCSystemType: " & objCS.PCSystemType
  6. Next
Sep 14 '07 #3
bhandarkar
2 New Member
Thanks!! I understand your concern and that's true as well.. but I was just checking if there is anyway. Regarding ActiveX, I can use that as it's intranate application. Does anyone know any such resource? If yes, please let me know. I could not get that yet on the net.
hi ...

welcome to TSDN ...

you cannot and should not do that with javascript ... its purpose is to do things WITHIN the browser ... not outside ... imagine a webpage that gains control to your system ...

i know that sometimes there are applications besides those 'webapps' and that have special requirements ... and in that case you have to have a strict inranet-environment and there might be possibilities with ActiveX or advanced MOZ-privileges ... to gain control to the users system ... but: your application must have or gain that privileges ... you cannot do that with standard javascript and everything you would do is strictly browserspecific ...

kind regards
Sep 14 '07 #4
gits
5,390 Recognized Expert Moderator Expert
hi ...

have a look at post #3 ... may be that helps?

kind regards
Sep 14 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2809
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
5
8534
by: mikeyjudkins | last post by:
Ive been banging my head on the wall for hours with this one, hopefully someone will know what Im doing wrong here :\ The Goal: I have an xml file that is generated on the fly via JSP which I...
6
5540
by: George Hester | last post by:
This location has a parasite checker using javascript. It is in a js file called parasite.js. It is freely available. http://www.doxdesk.com/parasite/ He\She is the only one I trust on the...
2
4763
by: Amith | last post by:
Hi, I am using an ActiveX created using delphi. It has a font property exposed. The font property is of type IFontDisp in the server(delphi). The font properties like Size, Bold, Underline etc...
3
6279
by: Angus Comber | last post by:
Hello Can javascript call/reference COM object. VBScript can do this (as it is from Microsoft). Can javascript? If so how? Angus
13
8579
by: UnaCoder | last post by:
Hi, I'm trying to use client side JavaScript from an HTML file to open and make changes to an Excel SpreadSheet using ADO w/ ODBC. What a pain it is to do this. Anyways, I am able to open the...
1
6809
by: UnaCoder | last post by:
Hi, I noticed that this particular object is only accessable if the IE security setting "Initialize and and script ActiveX controls not marked as safe" is enabled. Does windows maintain this list...
31
2208
by: darwinist | last post by:
*With manual. http://darwinist.googlepages.com/htmldesktop.html Please criticise or contribute.
7
5944
by: RobKinney1 | last post by:
Hello, Wow...I have one for you all and hopefully I am not understanding this timer object correctly. I have a timer setup that pulses a connection through a socket every 60 seconds. But it...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.