Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: can C# make control transparent Pin
Edmundisme5-Feb-08 13:33
Edmundisme5-Feb-08 13:33 
GeneralRe: can C# make control transparent Pin
Anthony Mushrow5-Feb-08 13:59
professionalAnthony Mushrow5-Feb-08 13:59 
QuestionException Handling architecture/framework? Pin
kumar.bs5-Feb-08 7:55
kumar.bs5-Feb-08 7:55 
AnswerRe: Exception Handling architecture/framework? Pin
eggsovereasy5-Feb-08 9:10
eggsovereasy5-Feb-08 9:10 
GeneralRe: Exception Handling architecture/framework? Pin
led mike5-Feb-08 12:08
led mike5-Feb-08 12:08 
GeneralRe: Exception Handling architecture/framework? Pin
kumar.bs5-Feb-08 13:05
kumar.bs5-Feb-08 13:05 
GeneralCrystal_Report Pin
simworld5-Feb-08 7:52
simworld5-Feb-08 7:52 
GeneralRe: Crystal_Report Pin
SABhatti5-Feb-08 9:40
SABhatti5-Feb-08 9:40 
I have converted this code from vb without testing, so please correct any syntax error ...
<br />
 DiskFileDestinationOptions DiskOpts = New DiskFileDestinationOptions();<br />
 // export options to hard disk<br />
 // oReport is a ReportDocument<br />
 oReport.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile;<br />
 // export option TYPE<br />
 oReport.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat;<br />
 // PDF file location and filename<br />
 DiskOpts.DiskFileName = ExportPath + requiredFilename;<br />
 // Destination options<br />
 oReport.ExportOptions.DestinationOptions = DiskOpts;<br />
 // Export<br />
 oReport.Export();<br />
 // clear cr viewer and report document<br />
 crViewer.ReportSource = null;<br />
 oReport.Dispose();<br />
 oReport = null;<br />
<br />
 // do this if you want to give the option to save or download the file, other wise go to Response.Redirect line at the end<br />
 Response.Clear();<br />
 Response.AppendHeader("Content-Disposition", "attachment; filename=filename.pdf");<br />
 Response.ContentType = "application/pdf";<br />
 Response.WriteFile(ExportPath + requiredFilename);<br />
 Response.End();<br />
<br />
 // if you just want to open the the file then just do this and skip the above lines from Response.Clear to Response.End<br />
<br />
 Response.Redirect(pdffilenameandpath, true);<br />
<br />


-----

GeneralRe: Crystal_Report Pin
simworld6-Feb-08 7:24
simworld6-Feb-08 7:24 
GeneralRe: Crystal_Report Pin
PIEBALDconsult5-Feb-08 13:51
mvePIEBALDconsult5-Feb-08 13:51 
GeneralReading XML attributes without knowing the element name Pin
hpjchobbes5-Feb-08 7:33
hpjchobbes5-Feb-08 7:33 
GeneralRe: Reading XML attributes without knowing the element name Pin
Le centriste5-Feb-08 7:40
Le centriste5-Feb-08 7:40 
GeneralRe: Reading XML attributes without knowing the element name Pin
hpjchobbes5-Feb-08 7:53
hpjchobbes5-Feb-08 7:53 
GeneralRe: Reading XML attributes without knowing the element name Pin
Le centriste5-Feb-08 8:37
Le centriste5-Feb-08 8:37 
GeneralDirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 7:21
PaulPrice5-Feb-08 7:21 
GeneralRe: DirectoryInfo.GetDirectories() Pin
Luc Pattyn5-Feb-08 7:31
sitebuilderLuc Pattyn5-Feb-08 7:31 
GeneralRe: DirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 8:22
PaulPrice5-Feb-08 8:22 
GeneralRe: DirectoryInfo.GetDirectories() Pin
Jimmanuel5-Feb-08 8:05
Jimmanuel5-Feb-08 8:05 
GeneralRe: DirectoryInfo.GetDirectories() Pin
PaulPrice5-Feb-08 8:23
PaulPrice5-Feb-08 8:23 
GeneralC# App on the web Pin
Gareth H5-Feb-08 6:41
Gareth H5-Feb-08 6:41 
GeneralRe: C# App on the web Pin
Jasmine25015-Feb-08 6:54
Jasmine25015-Feb-08 6:54 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 6:59
Gareth H5-Feb-08 6:59 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 7:27
Gareth H5-Feb-08 7:27 
GeneralRe: C# App on the web Pin
Gareth H5-Feb-08 8:14
Gareth H5-Feb-08 8:14 
GeneralRe: C# App on the web Pin
Jasmine25015-Feb-08 14:38
Jasmine25015-Feb-08 14:38 

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.