Exporting Crystal Report 85 to PDF from Visual Studio 6.0 
Author Message
 Exporting Crystal Report 85 to PDF from Visual Studio 6.0

I'm trying to export a Crystal Report 85 from Visual Studion6.0 SP5

I can display the Report correctly.  If I use the Export (Envelope) funtion
from the report itself.  Everything works fine.

If I use the following code

Report1.PrintFileType = crEFTPortableDocFormat
Report1.PrintFileName = "C:\dispo" & ".pdf"
Report1.Destination = crptToFile
Report1.Action = 1

Then I receive error:

RUNTIME 20692
Invalid Export DLL or EXPORT FORMAT

Some more information:
crEFTHTML40 does not work.  --> HTML V40
crEFTHTML32Standard works fine.      --> HTML V32
The ceEFTPortableDocFormat comes with the CRAXDRT.dll

Who can provide a solution?



Fri, 04 Nov 2005 23:21:42 GMT  
 Exporting Crystal Report 85 to PDF from Visual Studio 6.0

Quote:

>I'm trying to export a crystal report 85 from Visual Studion6.0 SP5

>I can display the Report correctly.  If I use the Export (Envelope) funtion
>from the report itself.  Everything works fine.

>If I use the following code

>Report1.PrintFileType = crEFTPortableDocFormat
>Report1.PrintFileName = "C:\dispo" & ".pdf"
>Report1.Destination = crptToFile
>Report1.Action = 1

>Then I receive error:

>RUNTIME 20692
>Invalid Export DLL or EXPORT FORMAT

>Some more information:
>crEFTHTML40 does not work.  --> HTML V40
>crEFTHTML32Standard works fine.      --> HTML V32
>The ceEFTPortableDocFormat comes with the CRAXDRT.dll

>Who can provide a solution?

It looks like you are using the OCX method to interface with Crystal.
Unfortunately, PDF exporting is not supported by the OCX, except from
the preview window, according to this Crystal Decisions knowledge base
article.

http://support.crystaldecisions.com/library/kbase/articles/c2011686.asp

Tony



Sun, 06 Nov 2005 05:11:23 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem using Crystal Report 8.5 to export PDF in Visual Basic 6.0

2. Exporting crystal reports from visual studio.net is not working in the final release

3. Exporting Doc in Crystal Report for Visual Studio .NET as landscape

4. Linking Crystal Report with a stored Procedure -- crystal report for visual studio.net

5. Visual Studio 6.0, Visual Studio.Net Difference

6. Cannot open Access 2000 with Crystal packed with Visual Studio 6.0

7. Barcodes, Export to PDF, Crystal Reports .NET, WASP

8. Crystal Reports 8.5 PDF Export

9. Crystal Reports export to PDF in VB.NET

10. Problem exporting PDF Files with Crystal Report 8.5

11. after pdf Export with Crystal - pdf File isn't able to use default Font

12. Crystal Reports and exporting to PDF

 

 
Powered by phpBB® Forum Software