Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cognos Object Model in Visual Basic

Status
Not open for further replies.

DalenGray

Programmer
Dec 13, 2002
1
US
I've only recently begun working with Cognos and there's not anybody else in my office with any experience. I've seen references to indicate that Cognos objects can be used in Visual basic. When I add the reference to Cognos_Transformer to my project, I must manually search for the transaut.tlb file. No Problem. However, when I try to run any code that creates a Transformer object, I get an automation error The system cannot find the file specified.
Run-time error '-2147024894(80070002)'

I've seen the postings about having the Office automation support files installed properly, but all of mine seem to be correct. Any other ideas? Or can I only WRITE in vb and must then take the code into the cognos macro editor to be compiled and tested?

Thanks for the help.

Dalen L. Gray
Dallas, TX
 
Check out Cognos Macro Language documentation. It (the language) is very similar to VB and can sometimes pasted into VB and executed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top