Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain processor's velocity
Message
From
02/10/2002 10:06:13
 
 
To
02/10/2002 10:02:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706818
Message ID:
00706849
Views:
16
>>>>>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, ...
>
>With the 2-line WSH sample posted previously.

Given that others have reported that the key doesn't exist in Win98, the OLE Dispatch error is caused by an invalid registry hive prefix - the key doesn't exist, so the method call barfs.
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
Reply
Map
View

Click here to load this message in the networking platform