Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temperature monitoring
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357147
Message ID:
01357219
Vues:
17
>Tracy / Al:
>
>Thanks but I don't think any of those utilities have the facility to shutdown the server, thet just monitor the temperature.
>
>Mike:
>That is ideal, at least it would be if I could get it to work. Never seen an option to enable MSACPI on any motherboards so don't know if that is enabled or not, however the temperature reading must be available from somewhere because the Asus monitoring software can see it.
>Your example code errors at line 'For Each objItem IN colItems' with the following:
> OLE error code: 0x80041003: Unknown COM status code.
>
>Thanks
> Nick

You need WMI installed on your computer for the code to work. MSACPI is enabled (or added to the motherboard) on the motherboard at the factory, it is not something you can turn on or off.

WMI downloadf
http://www.microsoft.com/downloads/details.aspx?FamilyId=98A4C5BA-337B-4E92-8C18-A63847760EA5&displaylang=en
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform