Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2005

    Unanswered: VB6 - CRAXDT.dll Problem: "automation error"

    I'm having a problem loading a Crystal Report (V.10) using Visual Basic 6. I'm using the following code...

    Dim CRapp As New CRAXDRT.Application
    Dim CRrep As New CRAXDRT.Report
    Dim ReportName As String
    ReportName = App.Path & "\file.rpt"

    CRrep = CRapp.OpenReport(ReportName)

    But when I try to run the program, I get the error,

    "Run-time error '-2147189546 (80047cd6)':
    Automation error"

    I've editted the report so it doesn't 'Save Data With Report'.

    Does anyone have any ideas?
    Last edited by joemink; 02-21-05 at 15:59.

Posting Permissions

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