Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gotcha's with WMI?
Message
De
03/11/2007 18:37:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01266233
Message ID:
01266471
Vues:
9
Hi Mike,

most examples of WMI are done with Windows Shell Scripting, which is a non-starter in any kind of secure environment. However, WMI can be done entirely from within VFP: are you staying you've run into environments where that would be prohibited?

tnx,

Hank

>>I can get it using WMI, but I am wondering what issues I might have in the wild trying to use WMI?
>
>
>Network admins preventing script (of any kind) running on their systems...There different versions of WMI for different OSs.
>
>
>
>>I have run into a problem using API calls to get a MAC address to identify a machine. On Windows XP if the cable is disconnected, id don't get the adapter's MAC address using NetWkstaTransportEnum.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform