Results 1 to 2 of 2

Thread: Print crystal report URL through VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    3

    Print crystal report URL through VB

    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>&us er0=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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Print crystal report URL through VB

    Moved To Reporting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width