For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > June 2005 > Print to File automatically!?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Print to File automatically!?
Rabbit

2005-06-10, 8:58 pm

Dear all,

Does anyone know how to print the report directly to PDF file thru coding?

I'm using VB.Net but I can't find the function to send the crystal report
output to PDF file directory (of course I will supply the file path)

Thx in advance!
Keith


Rabbit

2005-06-10, 8:58 pm

What a mistake, the problem has resolved!

Function is actually available already:
rpt.ExportToDisk(CrystalDecisions.[Shared].ExportFormatType.PortableDocForma
t, "c:\test.pdf")

"Rabbit" <key_shoREMOVE@yahoo.com> wrote in message
news:euRcYZfbFHA.580@TK2MSFTNGP15.phx.gbl...
> Dear all,
>
> Does anyone know how to print the report directly to PDF file thru coding?
>
> I'm using VB.Net but I can't find the function to send the crystal report
> output to PDF file directory (of course I will supply the file path)
>
> Thx in advance!
> Keith
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com