Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursors vs. Arrays vs. Collections
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00864266
Message ID:
00866886
Vues:
20
Please forgive me for going off on a tangent.
Could this object be used to get the amount of memory installed in the computer?

And more importantly, why does the intellisense not show the .name and .currentclockspeed? I have run into the same issue quite often
and have never understood why intellisense sometimes is unable to show all the objects.

If anyone could enlighten me I would greatly appreciate it.
>	objWMIService = GETOBJECT("winmgmts:\\")
>	*!*	colItems = objWMIService.ExecQuery("Select * from Win32_Processor",,48)
>	*!*	For Each objItem In colItems
>	*!*	? objItem.Name
>	*!*	 ?objItem.CurrentClockSpeed
>	*!*	NEXT
If Bill Gates had a penny for every time windows crashed he'd be... Oh wait he does!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform