Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test if an ActiveX Control (ocx) is registred?`
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
How to test if an ActiveX Control (ocx) is registred?`
Miscellaneous
Thread ID:
00487704
Message ID:
00487704
Views:
36
Is there a VFP command or a DELCARE dll Windows method to check to see if a ActiveX (ocx) is registered and returns a true/false if registered or not?

I want to check if Adobe Acrobat pdf.ocx is registered before attempting to use the OCX. How can this be done without generating a VFP error. I tried using CREATEOBJECT("PDF.Pdfctrl.1") which, if pdf.ocx is registered, returns an Object; however, if it's not installed, CREATEOBJECT() produces an error.

Any ideas?

Joel
Next
Reply
Map
View

Click here to load this message in the networking platform