Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if a control is registered
Message
From
26/05/1999 08:20:12
 
 
To
26/05/1999 00:10:15
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00222792
Message ID:
00222864
Views:
24
>Does anyone here know of a way to programically determine if a Activex control is registered on a users machine using VFP5?
>

If you know the ProgID or VersionIndependentProgID (the name associated with the control) you can check for the existance of the registry key HKEY_CLASSES_ROOT\ProgID of the Control. You could also instantiating it and trap the error.

>Thanks for any help!
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