basicly...
if process.exe is running then i want the image to be tick.png , and if process.exe is not running then i want the image to be cross.png
i'm building an antivirus with the interface in desktop x and i need to say if the sheilds are running , they are processes on the system ,
any help would be appriciated
RomanDA did something that monitored any process herre: http://romanda.wincustomize.com/skins.aspx?skinid=1&libid=77
Check out his tutorials, I'll bet he documented how he did it somewhere. Check out his tutorials and if I see him I'll give him a poke.
WMI is what is used to check on the memory usage or anything else about a running process.
procs = name of process to check for
good luck
Thanks David!
ok ... sounds good , thanks all , but is there a way to make it show different pictures if it is running or not?
to be honest , i'm not a programmer , i understand the code a bit but i wouldn't know how to make it display different pictures
i'm sorry for my ignorence
~jman6495
You wnat to fill in the IF/ELSE/ENDIF section at the end with what you want to do.
A little research is prudent now. Check out https://www.stardock.com/products/desktopx/help/dev_guide_3b_script_reference.htm
object.picture bight be your friend.
(but then again . . I'm a DX hack )
Cool code.
Would I need to set proc equal to the process I want or would I just enumerate it in the code?
Jsut add
then make 2 states in "OBJECTNAMEHERE" called "Running" and "NotRunning" (CaSe Is ImPoRtant)
that should work.
Ahhh!
Thanks
There is soo much WMI can do, the best way to play with it is to download the WMI Code Creator i have used it on XP, Vista and 7 and it works on all of them, granted there are things that are not there on 7 that were there in XP, etc. But at least you can try out code snippits with it. Its really great.
Wow. That's awesome! Thanks, Roman.
sViz,
If im looking for something from the system ill do a google search like "WMI Process Memory Usage" and it will show all kinds of things.
you end up with something like this: http://aspalliance.com/806_CodeSnip_Get_memory_size_usage_using_WMI_and_NET_20
some cool things out there.
There are many great features available to you once you register, including:
Sign in or Create Account