Hello,
I use Stimulsoft Version 2013.3.1800 and I have a ObjectDisposedException in method Print() in my application. In Designer I haven't not problems for my report. The report validator show me not errors and warnings. I use in report a strength type dataset as datasource.
...
Public Class Form1
Private StrReport as StiReport
...
Private btn_Print(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_Print.Click
dim ds As BusinessDataSet = New BusinessDataSet()
StrReport.DataStore.RegData("Data", ds)
Dim settings = New Printing.PrintDocument().PrinterSettings
settings.PrinterName = "Microsoft XPS Document Writer auf nnn.nnn.nnn.nnn"
settings.DefaultPageSettings.PaperSource = 0
StrReport.Print(showPrintDialog:=False, printerSettings:=settings)
End Sub
...
End Class
What ist the problem for the ObjectDisposedException in method Print()?
Best Regards
Wolfram
ObjectDisposedException in Print()
Re: ObjectDisposedException in Print()
Hi Wolfram,
Do you mind to try to change the printer you are using to be a pdf - printer or any other printer installed on your system? It looks like the issue might be related to some specific settings of the printer, even if you used that the standard Microsoft XPS one.
If the problem persists, do you mind to send the sample that recreates the issue to support[at]stimulsoft.com, so we could re-create and to fix it?
Thank you,
Edward
Do you mind to try to change the printer you are using to be a pdf - printer or any other printer installed on your system? It looks like the issue might be related to some specific settings of the printer, even if you used that the standard Microsoft XPS one.
If the problem persists, do you mind to send the sample that recreates the issue to support[at]stimulsoft.com, so we could re-create and to fix it?
Thank you,
Edward