Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

Java -> Native OLE Calls

I would like make a server-side java app execute local OLE calls like :

  Set objImpApp = CreateObject("CognosImpromptu.Application")
  objImpApp.Visible 1
  objImpApp.OpenCatalog strCatalogName, strUserCalss,"User","username","password"
  Set objImpRep = objImpApp.OpenReport(strReportFileName,strPromptVal)
  set pdfrep=objImpRep.publishpdf
  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).
0
Exie
Asked:
Exie
1 Solution
 
Venci75Commented:
0
 
CleanupPingCommented:
Exie:
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.
0
 
tomboshellCommented:
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
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now