|
-
Aug 16th, 2006, 11:24 AM
#1
Thread Starter
Member
[RESOLVED] Cannot Create ActiveX Component
Hello,
I'm having an issue with a service I've created where I need to create an instance of another application (Cognos' Impromptu Administrator). There is no SDK for the app so I've been doing this rather loosely thus far. I don't add any references or Import statements to make this work. The code is simply:
Dim objImpApp as Object
objImpApp = CreateObject("CognosImpromptu.Application")
and after that is controlled through macro commands available to the objImpApp object
This code is packed in a DLL that the service accesses. However upon reaching the CreateObject() statement the DLL errors with the message "Cannot create ActiveX Component." --
To test I created a small app that calls the same DLL and was able to execute the CreateObject statement that way. The service is configured to run under the same user account that I ran the app from, so I don't see it being a permissions issue, but I may of course be wrong.
Any ideas? Any other information that may help you with this? I've been dealing with this for the past couple days and any help/ideas would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|