Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for DLL Registration Before Using CreateObject(
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00766669
Message ID:
00767000
Views:
16
See Re: Is Word/Excel installed Message #566432

>Hello All,
>
>We have a DLL that we're trying to instantiate using CreateObject() and the instantiation works fine if the DLL is registered on the machine. However, we need to check to see if the DLL is registered on the machine before doing the CreateObject() to prevent the runtime error that occurs if the DLL isn't registered.
>
>Does anyone know how to check this using code? I could use the FILE() function to see if the DLL exists in the System folder, but it still wouldn't ensure that it's registered.
>
>Thanks in advance,
>
>Ben Holton
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform