Exie
asked on
Java -> Native OLE Calls
I would like make a server-side java app execute local OLE calls like :
Set objImpApp = CreateObject("CognosImprom ptu.Applic ation")
objImpApp.Visible 1
objImpApp.OpenCatalog strCatalogName, strUserCalss,"User","usern ame","pass word"
Set objImpRep = objImpApp.OpenReport(strRe portFileNa me,strProm ptVal)
set pdfrep=objImpRep.publishpd f
pdfrep.publish
objImpRep.CloseReport
objImpApp.CloseCatalog
objImpApp.Close
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).
Set objImpApp = CreateObject("CognosImprom
objImpApp.Visible 1
objImpApp.OpenCatalog strCatalogName, strUserCalss,"User","usern
Set objImpRep = objImpApp.OpenReport(strRe
set pdfrep=objImpRep.publishpd
pdfrep.publish
objImpRep.CloseReport
objImpApp.CloseCatalog
objImpApp.Close
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).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: Venci75
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thomas Boshell
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: Venci75
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thomas Boshell
EE Cleanup Volunteer
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.