Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing or out of Date export DLL error

Status
Not open for further replies.

AzLinda

Programmer
Dec 14, 2000
2
US
I have a VB 6.0 application using Crystal Reports the came with VB 6. I have recently upgraded my PC to Service Pack 4 for VB 6 and MDAC 2.5. My program either prints a file (that still works) displays a grid (that still works) or would save the file to the users hard drive (not working) Here is the code:

If Dir(strTxtfile) <> &quot;&quot; Then Kill strTxtfile
CrystalReport1.Destination = crptToFile
CrystalReport1.PrintFileType = crptWinWord
CrystalReport1.PrintFileName = &quot;c:\selected.doc&quot;
CrystalReport1.Connect = &quot;c:\RESULTS2.MDB&quot;
CrystalReport1.DataFiles(0) = &quot;c:\RESULTS2.MDB&quot;
CrystalReport1.ReportFileName = permpath & &quot;\enc2.rpt&quot;
CrystalReport1.Action = 1

and it is failing on the .action line with the error

Run-time error 20540
Missing or out-of-date export DLL

I have reinstalled everything - anyone have any suggestions?
 
Never mind I found and fixed the problem. If anyone is interested apparently something (we have SMS) updated a Crystal Reports export file - so I just copied all the U2*.* back to the system32 directory and so far it is fine. Possibly another application will go down that is using Crystal 6 or new. Shrugs - waiting to see.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top