Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
AnswerRe: what is a C# reference type Pin
Guffa9-Aug-07 9:07
Guffa9-Aug-07 9:07 
QuestiontextBox1.Visible=false NOT work! Pin
liubin_aluzi9-Aug-07 7:32
liubin_aluzi9-Aug-07 7:32 
AnswerRe: textBox1.Visible=false NOT work! Pin
PhilDanger9-Aug-07 8:21
PhilDanger9-Aug-07 8:21 
AnswerRe: textBox1.Visible=false NOT work! Pin
Martin#9-Aug-07 20:01
Martin#9-Aug-07 20:01 
QuestionGDI+ Printing using C# - Please help Pin
krishna44569-Aug-07 7:22
professionalkrishna44569-Aug-07 7:22 
AnswerRe: GDI+ Printing using C# - Please help Pin
Judah Gabriel Himango9-Aug-07 9:52
sponsorJudah Gabriel Himango9-Aug-07 9:52 
GeneralRe: GDI+ Printing using C# - Please help Pin
krishna44569-Aug-07 11:01
professionalkrishna44569-Aug-07 11:01 
QuestionCrystalReportViewer and export document Pin
Saamir9-Aug-07 5:43
Saamir9-Aug-07 5:43 
Hi guys,
I have tried numerous ways to export a report to PDF and I keep failing. Please help me, I am trying to export a crystal report from crystal report viewer to .pdf format automatically. Here is my code, it creates the report but it is not a .pdf and doesn't open in acrobat.

O_Report.Load(@"C:\Documents and Settings\sameer.patwa\My Documents\Project Files\POS\POSPymt\Invoice.rpt");
O_Report.Database.Tables[0].ApplyLogOnInfo(LogInfo);
pv.Value=SlsId;
pvs.Add(pv);
O_Report.DataDefinition.ParameterFields["Ad_Parameter1"].ApplyCurrentValues(pvs);
ExportOptions exp= new ExportOptions();
ExcelFormatOptions excelFormatOpts = new ExcelFormatOptions ();
DiskFileDestinationOptions dsk = new DiskFileDestinationOptions();
exp = O_Report.ExportOptions;
exp.ExportDestinationType = ExportDestinationType.DiskFile;
exp.ExportFormatType=ExportFormatType.PortableDocFormat;
dsk.DiskFileName = @"C:\" + SlsId + ".pdf";
exp.DestinationOptions = dsk;
O_Report.Export();



sasa

AnswerRe: CrystalReportViewer and export document Pin
Tom1019-Aug-07 6:09
Tom1019-Aug-07 6:09 
GeneralRe: CrystalReportViewer and export document Pin
Saamir9-Aug-07 6:44
Saamir9-Aug-07 6:44 
QuestionArray of Images as a property doesn't work Pin
rflloyd9-Aug-07 5:38
rflloyd9-Aug-07 5:38 
AnswerRe: Array of Images as a property doesn't work Pin
Judah Gabriel Himango9-Aug-07 5:51
sponsorJudah Gabriel Himango9-Aug-07 5:51 
QuestionChang Listview Color? Pin
abcomp019-Aug-07 5:11
abcomp019-Aug-07 5:11 
AnswerRe: Chang Listview Color? Pin
Judah Gabriel Himango9-Aug-07 5:44
sponsorJudah Gabriel Himango9-Aug-07 5:44 
AnswerRe: Chang Listview Color? Pin
abcomp019-Aug-07 5:58
abcomp019-Aug-07 5:58 
GeneralRe: Chang Listview Color? Pin
Judah Gabriel Himango9-Aug-07 9:41
sponsorJudah Gabriel Himango9-Aug-07 9:41 
QuestionProblem with Visual Studio 2005 Pin
sharpiesharpie9-Aug-07 5:11
sharpiesharpie9-Aug-07 5:11 
AnswerRe: Problem with Visual Studio 2005 Pin
Judah Gabriel Himango9-Aug-07 5:37
sponsorJudah Gabriel Himango9-Aug-07 5:37 
GeneralRe: Problem with Visual Studio 2005 Pin
sharpiesharpie9-Aug-07 6:53
sharpiesharpie9-Aug-07 6:53 
GeneralRe: Problem with Visual Studio 2005 Pin
Judah Gabriel Himango9-Aug-07 7:21
sponsorJudah Gabriel Himango9-Aug-07 7:21 
GeneralRe: Problem with Visual Studio 2005 Pin
sharpiesharpie9-Aug-07 9:16
sharpiesharpie9-Aug-07 9:16 
GeneralRe: Problem with Visual Studio 2005 Pin
Luc Pattyn9-Aug-07 9:30
sitebuilderLuc Pattyn9-Aug-07 9:30 
GeneralRe: Problem with Visual Studio 2005 Pin
sharpiesharpie9-Aug-07 9:39
sharpiesharpie9-Aug-07 9:39 
Questionhelp converting an image to a string. Pin
snorkie9-Aug-07 4:59
professionalsnorkie9-Aug-07 4:59 
AnswerRe: help converting an image to a string. Pin
Luc Pattyn9-Aug-07 5:20
sitebuilderLuc Pattyn9-Aug-07 5:20 

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.