My app uses WMI classes to gather computer information RAM,Processor,LAN,Monitor, HDD,FDD,CD-Drive and mouse keyboard etc.
But for keyboard and mouse it gives the health status like connected or disconnected from what the status of it was at the boot time.
Can somebody help me to update the status while the computer is running.
System diagnostics
Started by vivek.purohit0078, May 28 2008 11:33 PM
4 replies to this topic
#1
Posted 28 May 2008 - 11:33 PM
|
|
|
#2
Posted 29 May 2008 - 10:42 AM
Do you mean the boot of the computer, or the load of the application?
You could use a System.Threading.Timer to update the info at set intervals. Just add one using the toolbox, double click it to access its Tick event, and put the code that gathers information into the event handler. :)
You could use a System.Threading.Timer to update the info at set intervals. Just add one using the toolbox, double click it to access its Tick event, and put the code that gathers information into the event handler. :)
#3
Posted 29 May 2008 - 09:37 PM
U didn't get it. The problem is different! My application when run writes to a file what devices are connected and their health status(CONNECTED,DISCONNECTED) and some other vital information about them.
If i run the application when the LAN wire is connected the health status comes out to be CONNECTED. Now if I pull off the wire and then run the application it comes out to be DISCONNECTED.
But if i do the same operation on keyboard and mouse the status doesn't change; it always comes to be connected.
Answer this!!!!
If i run the application when the LAN wire is connected the health status comes out to be CONNECTED. Now if I pull off the wire and then run the application it comes out to be DISCONNECTED.
But if i do the same operation on keyboard and mouse the status doesn't change; it always comes to be connected.
Answer this!!!!
#5
Posted 31 May 2008 - 04:21 AM
Maybe you should zip and upload the source code. We can take a look at it.


Sign In
Create Account

Back to top









