Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain processor's velocity
Message
From
02/10/2002 09:53:21
 
 
To
02/10/2002 09:48:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706818
Message ID:
00706839
Views:
23
>>>There is other way without using Scripting Host?
>>>In a computer without Scripting Host this will not work...
>>
>>You could always use the FFC's _registry.vcx Registry class instead. I'm not sure that key is supported uniformly across all OS platforms.
>
>I get an OLE Dispatch error. Using Windows 98.

From the FFC registry class? There is no COM interface involved in the FFC class; it's all done with API calls, and my experience is that as long as you've inserted an #INCLUDE REGISTRY.H in the module in question, it's pretty dain-bread simple. In the Wscript.Shell RegRead method, there's a COM interface, and you can screw it up by having an older version of the WSH, or specifying an invalid class hive prefix in the key value name string.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform