Java -> Native OLE Calls
Posted on 2003-02-19
I would like make a server-side java app execute local OLE calls like :
Set objImpApp = CreateObject("CognosImpromptu.Application")
objImpApp.OpenCatalog strCatalogName, strUserCalss,"User","username","password"
Set objImpRep = objImpApp.OpenReport(strReportFileName,strPromptVal)
The goal is to run a local app, which will produce a report, and then somehow send the PDF file down to the user. I'll settle for making it produce the report first.
I've never really dabbled with Java much, so any notes welcome.
PS. I have a .tlb file for my application I want to call (not sure how I use it tho).