Resolved ! Crystal report XI and VB6 Error Signature
I wrote an application to call the Crystal then convert it into pdf file.
I sometime got the pop out message, says Visual Basic has encountered a problem and needs to close...
then I got another pop out message says: Error signature ... ModName: craxdrt.dll...
This error not happen everytime. If the client reboot the machine after this error, it runs OK again.
And, I have some other application using Crystal Report XI, no problem.
Wired to me.
Thanks!
Re: Crystal report XI and VB6 Error Signature
Resolved.
I know this is redicurous. But here is what I did:
I tried to save the Crystal Report file into a pdf file. What I did:
With Report
.ExportOptions.FormatType = crEFTPortableDocFormat
.ExportOptions.DestinationType = crEDTDiskFile
.ExportOptions.DiskFileName = OutFile + "\" + filenm
.ExportOptions.PDFExportAllPages = .ExportOptions.PDFExportAllPages
.ExportOptions.PDFFirstPageNumber = .ExportOptions.PDFFirstPageNumber
.ExportOptions.PDFLastPageNumber = .ExportOptions.PDFLastPageNumber
.Export (False)
End With
I just changed the code into:
Report.DiscardSavedData
Report.ReadRecords
Report.ExportOptions.DestinationType = crEDTDiskFile
Report.ExportOptions.FormatType = crEFTPortableDocFormat
Report.ExportOptions.DiskFileName = OutFile + "\" + filenm
Report.Export False
And it worked