Differnet DLLs

Stimulsoft Reports.NET discussion
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have changed version of assembly dlls still facing same problem,

I have used following code to register the dataset and show the report

Report.RegData(dataSet)
Report.RegData("Temp", dataSet.Tables(1))
Using form As Stimulsoft.Report.Render.StiPreviewForm = New Stimulsoft.Report.Render.StiPreviewForm(Report)
Dim stiPreview As Stimulsoft.Report.Render.StiPreviewControl = form.PreviewControl
Dim tb As StiToolBar = stiPreview.ToolBar
Dim btnSave As StiToolButton = TryCast(tb.Controls.Item("tbSave"), StiToolButton)
Dim btnExport As StiToolButton = TryCast(tb.Controls.Item("tbExport"), StiToolButton)
btnExport.Image = btnSave.Image
Report.Render()
Report.Compile()
form.ShowDialog()
End Using
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

We've tested your report and found no issues. All printed correctly. Please check your e-mail.

We've sent a report and data to you.

Thank you.

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

EDV wrote:It is possible to increase the assembly version (e.g. 2007.2.0.1, 2007.2.0.2, 2007.2.0.3 etc) for each pre-release build to avoid this kind of confusion?

Marco
Sorry, but we can't add such numeration of the prerelease builds.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

I have send you a sample solution for that prbolem,
Please solve the problem.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

Waiting for your reply,
Thank You
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

Thank you for the test solution. It helped as always to find a root of the problem.
Please change the order of the following lines of code:

From

Code: Select all

Report.Render()
Report.Compile()
to

Code: Select all

Report.Compile()
Report.Render()
or to

Code: Select all

Report.Render()
The first two lines of code doesn't call an issues because in previous versions of our engine we did not compile the report when it was already compiled. But now Report.Compile() builds the report again and it becomes not rendered.

So now please be careful with calling of the Compile() method.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Differnet DLLs

Post by satisht »

Thank You
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Differnet DLLs

Post by Edward »

Let us know if you need any help.

Thank you.
Post Reply