Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursors vs. Arrays vs. Collections
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00864266
Message ID:
00866886
Views:
21
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform