|
-
Oct 22nd, 2008, 06:39 PM
#1
Thread Starter
Junior Member
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!
Last edited by sloth; Oct 23rd, 2008 at 12:21 PM.
-
Oct 23rd, 2008, 12:20 PM
#2
Thread Starter
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|