Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Load Image from hard drive dynamically

Hi,

I have a requirement to load image from hard drive dynamically based on some conditions. I have googled it and found that we can use RAS. I am using Crystal Reports plugin that comes with RAD 7.0 and I am not sure if this supports RAS. I get Connection Refused to localhost exception. I have used the following code. Any help on this is appreciated.

//Create a new Report Application Session

ReportAppSession reportAppSession = new ReportAppSession();

//Create a Report Application Server Service

reportAppSession.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");

//Set the RAS Server to be used for the service. You can also use "localhost" if the RAS server is running on your local machine.

reportAppSession.setReportAppServer("localhost");

//Initialize RAS

reportAppSession.initialize();

cheers,

Ram

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question