?
Solved

Java -> Native OLE Calls

Posted on 2003-02-19
4
Medium Priority
?
312 Views
Last Modified: 2008-03-10
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
Comment
Question by:Exie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
Venci75 earned 400 total points
ID: 7986490
0
 

Expert Comment

by:CleanupPing
ID: 9059221
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
 
LVL 7

Expert Comment

by:tomboshell
ID: 9553138
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question