Problem with Stimulsoft Preview

Stimulsoft Reports.NET discussion
Post Reply
aminformatica
Posts: 3
Joined: Thu Apr 23, 2009 7:40 am
Location: Italy

Problem with Stimulsoft Preview

Post by aminformatica »

Hi all,

we use the following Vb.Net code for open the Stimulsoft report :

rpt = New Stimulsoft.Report.StiReport
rpt.Load("stat_vend.mrt")
rpt.Render(False)
rpt.Print()
Dim stat_vend_Source As StiOleDbSource = CType(rpt.DataSources("PRODUCTS"), Stimulsoft.Report.Dictionary.StiOleDbSource)
stat_vend_Source.SqlCommand = "SELECT * FROM PRODUCTS"
rpt.Compile()

the problem is that when the vb program starts, the report is printed but the preview is always open (I would not open the preview window..).
Can someone help me please?

thanks!
regards,
Maurizio

Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Problem with Stimulsoft Preview

Post by Andrew »

Hello.

We tested it and were unable to reproduce the problem.

Please, send us the sample project to support@stimulsoft.com .

Thank you.
Post Reply