Click here to Skip to main content
15,299,443 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I am converting my Crystal report as pdf format through coding but I am facing some error's while converting, here is my code:

VB
Dim CrExportOptions As ExportOptions
       Dim CrDiskFileDestinationOptions As New  _
       DiskFileDestinationOptions()
       Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()
       Dim sd As String = "nas"

       CrDiskFileDestinationOptions.DiskFileName = "c:\" & sd & ".pdf"
       em1 = "c:\" & sd & ".pdf"
       CrExportOptions = crydatwis.ExportOptions
       With CrExportOptions
           .ExportDestinationType = ExportDestinationType.DiskFile
           .ExportFormatType = ExportFormatType.PortableDocFormat
           .DestinationOptions = CrDiskFileDestinationOptions
           .FormatOptions = CrFormatTypeOptions
       End With
       crydatwis.Export()



crydatwis.Export() this line showing error like 'Missing parameter values.'

How shall I recover this issue?
Posted
Updated 3-Dec-10 15:09pm
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900