Link to home
Start Free TrialLog in
Avatar of BLAZEPOINT
BLAZEPOINT

asked on

Windows Management Instrumentation (WMI) and Visual Basic 6

I am currently working on a VB application that will monitor the status of the underlying hardware i.e. battery status, fan status and CPU temperature.  I’m using the Windows Management Instrumentation (WMI) with some small success however with the hardware/software configuration I have (see below) I appear to be missing various bits of information that would be really useful.   I know the hardware is there, but WMI is not reporting any valid values i.e. CPU temperature

The first part of the question is as follows; is there any other way to retrieve those value other than the WMI i.e. an API call I’m not aware of.  The second part of the question is that failing to find a solution to the first part of the question is there any other way in VB6 to read values directly if you know the address to look – I’m resisting the urge to use the words PEEK and POKE but I guess you can see where I’m coming from.

Thanks in advance for help received.

SW/HW configuration
Itronix Duo-Touch IX325
Windows 2000 (SP4)
BIOS v1.05
ASKER CERTIFIED SOLUTION
Avatar of rmacfadyen
rmacfadyen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BLAZEPOINT
BLAZEPOINT

ASKER

Rob

Many thanks for the prompt feedback.   Alas I think you are correct. I really don’t want to go the route of memcpy and API memory calls, it not nice, extensible and anything but elegant.  On the plus side I have just been a given a contact at Itronix which may yield some results.  

By your leave I'll hang fire for a few days and assuming I don’t receive a beautifully crafted, fully object-oriented solution (with comments and error handling) the points are yours for the sanity check and confirming my view of reality!

Cheers

Darren