Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if already registered
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00409538
Message ID:
00409547
Views:
13
>I am using DllRegisterServer contained in the Active-x control to register. How do I check to see if the control is already registered ?
>
>Thanks !! CB

Clark,

You can use the IsKey() function in the registry class that's comes with VFP. Simply:
SET CLASSLIB TO REGISTRY.VCX
oReg = CREATEOBJECT("Registry")
? oReg.IsKey("MSComDlg.CommonDialog") && Common Dialogs Control
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform