PDA

Click to See Complete Forum and Search --> : Print crystal report URL through VB


kumar_shu
Mar 10th, 2009, 08:16 AM
I want to open crystal report on enterprise server using the URL from VB6. How can I do that?
URL = http://<IP Address>/crystal/enterprise10/admin/en/viewrpt.cwr?id=<ID>&apsuser=<User>&apspassword=<Password>&apsauthtype=secEnterprise&E1USER=<User>&user0=WEB_USER&password0=<Password>&user-<DB Server>.<Database>@<ReportName>=<Password>&promptex-RptID=<ID>&promptex-BusContact=None&promptex-BusEmail=None&promptex-@<Param>=<Param Value>&init=actx

I tried below code but not working

SET objCRAXDRTReport = objCRAXDRTApplication.OpenReport(URL)

My basic requirement is after opening the report we should able to print it through code itself. We don't want user should click on print button. I think if I get the above solution then I can print report in the above manner.

Any other suggestions are also welcome...

Thanks in advance

Hack
Mar 10th, 2009, 08:37 AM
Moved To Reporting