Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is an OCX Registered On My Machine?
Message
From
29/04/1999 15:46:20
 
 
To
28/04/1999 22:01:08
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00213266
Message ID:
00213627
Views:
37
Hi Chaim.

>I need to write a routine to determine if a given activeX control is registered on the workstation.

You can use the code in my SFActiveX.LoadActiveX method (published in FoxTalk July 1998). It determines if the specified ActiveX control has been registered by looking in the Registry for the control's class ID.

If you determine that it hasn't been registered but find that the OCX exists on the user's system, you could run REGSVR32 to register it. There's also a WinAPI call you can use to do the same thing but I don't have it handy (I can look it up if you need it).

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform