-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Pankaj20044
Message 1 in Discussion

Hi All,
Iam trying to take a printout of a crystal report in web based application. Iam able 
to create a crystal report but when I click a "Print" button in my web form, I get a 
message when seen in quickwatch as: "Error in File 
C:\WINDOWS\TEMP\temp_907a6d6a-f65f-439a-8961-d7d7f48f70f4.rpt:
Request cancelled by the user."    My Code is as below:
 Dim margins As PageMargins
            Dim Report As ReportDocument
            Report = New ReportDocument()             margins = 
Report.PrintOptions.PageMargins
            margins.bottomMargin = 350
            margins.leftMargin = 350
            margins.rightMargin = 350
            margins.topMargin = 350
            Report.PrintOptions.ApplyPageMargins(margins)             Dim 
crReportDocument As LeaveCrystalReport
            crReportDocument = New LeaveCrystalReport()
            
Report.Load("C:\Inetpub\wwwroot\TestWebApplication1\LeaveCrystalReport.rpt")
            Report.PrintOptions.PrinterName = "\\blrfpsds\5th FLOOR"
            Report.PrintToPrinter(1, False, 0, 0)   Can anybody help me in sorting out 
this problem as this is urgent. Your help would be appreciated. Regards,
Pankaj.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to