Click here to Skip to main content
15,883,731 members
Home / Discussions / C#
   

C#

 
QuestionNavigating through records. Pin
Minotaur-Mortal21-Oct-09 0:21
Minotaur-Mortal21-Oct-09 0:21 
AnswerRe: Navigating through records. Pin
Eduard Keilholz21-Oct-09 1:39
Eduard Keilholz21-Oct-09 1:39 
GeneralRe: Navigating through records. Pin
Minotaur-Mortal21-Oct-09 1:48
Minotaur-Mortal21-Oct-09 1:48 
GeneralRe: Navigating through records. Pin
Minotaur-Mortal27-Oct-09 2:16
Minotaur-Mortal27-Oct-09 2:16 
Questioni want send output data into pdf fromate Pin
lavankumar20-Oct-09 23:57
lavankumar20-Oct-09 23:57 
AnswerRe: i want send output data into pdf fromate Pin
Christian Graus20-Oct-09 23:57
protectorChristian Graus20-Oct-09 23:57 
GeneralRe: i want send output data into pdf fromate Pin
V.21-Oct-09 0:20
professionalV.21-Oct-09 0:20 
AnswerRe: i want send output data into pdf fromate Pin
Tom Deketelaere21-Oct-09 0:08
professionalTom Deketelaere21-Oct-09 0:08 
Depending on your version of crystal reports, crystal reports has an export to PDF method.

Dim crExportOptions As ExportOptions
        Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
        Dim ExportPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData, attachmentName & ".pdf")
        ' Set the path for the exported report 
        crDiskFileDestinationOptions = New DiskFileDestinationOptions
        crDiskFileDestinationOptions.DiskFileName = ExportPath

        ' Set the options to export the report to PDF format 
        crExportOptions = rpt.ExportOptions
        With crExportOptions
            .DestinationOptions = crDiskFileDestinationOptions
            .ExportDestinationType = ExportDestinationType.DiskFile
            .ExportFormatType = ExportFormatType.PortableDocFormat
        End With

        ' Export the report 
        rpt.Export()


with rpt being your crystal report.

(code is in vb.net but I'm sure you can convert that)
AnswerRe: i want send output data into pdf fromate Pin
DaveyM6921-Oct-09 0:11
professionalDaveyM6921-Oct-09 0:11 
QuestionWHY THIS CODE RETURNS ERROR Pin
RINSON VARGHESE20-Oct-09 23:54
RINSON VARGHESE20-Oct-09 23:54 
AnswerRe: WHY THIS CODE RETURNS ERROR Pin
Christian Graus21-Oct-09 0:00
protectorChristian Graus21-Oct-09 0:00 
GeneralRe: WHY THIS CODE RETURNS ERROR Pin
RINSON VARGHESE21-Oct-09 0:11
RINSON VARGHESE21-Oct-09 0:11 
AnswerRe: WHY THIS CODE RETURNS ERROR Pin
DaveyM6921-Oct-09 0:36
professionalDaveyM6921-Oct-09 0:36 
Questioncustom headers in email Pin
nirmalsat20-Oct-09 23:47
nirmalsat20-Oct-09 23:47 
AnswerRe: custom headers in email Pin
Christian Graus21-Oct-09 0:00
protectorChristian Graus21-Oct-09 0:00 
GeneralRe: custom headers in email Pin
J4amieC21-Oct-09 0:09
J4amieC21-Oct-09 0:09 
GeneralRe: custom headers in email Pin
Eddy Vluggen21-Oct-09 0:10
professionalEddy Vluggen21-Oct-09 0:10 
AnswerRe: custom headers in email Pin
J4amieC21-Oct-09 0:10
J4amieC21-Oct-09 0:10 
GeneralRe: custom headers in email Pin
nirmalsat21-Oct-09 19:38
nirmalsat21-Oct-09 19:38 
QuestionSuggestion about a data structure Pin
Siddhartha S.20-Oct-09 23:45
Siddhartha S.20-Oct-09 23:45 
AnswerRe: Suggestion about a data structure Pin
Luc Pattyn21-Oct-09 2:40
sitebuilderLuc Pattyn21-Oct-09 2:40 
GeneralRe: Suggestion about a data structure Pin
Siddhartha S.21-Oct-09 2:45
Siddhartha S.21-Oct-09 2:45 
GeneralRe: Suggestion about a data structure Pin
Luc Pattyn21-Oct-09 2:53
sitebuilderLuc Pattyn21-Oct-09 2:53 
GeneralRe: Suggestion about a data structure Pin
Siddhartha S.21-Oct-09 2:55
Siddhartha S.21-Oct-09 2:55 
QuestionWindows Identity of the currently logged in user Pin
ramz_g20-Oct-09 22:23
ramz_g20-Oct-09 22:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.