Discussion:
Program crashes when I open report
(too old to reply)
Paul van Coller
2007-10-24 09:53:05 UTC
Permalink
When I print a Visual Basic .net Report my program crashes randomly.

It sometimes happens after the 3rd time I try it, and other times after the
second.

Here is the code I use:


frmRptAssess.ReportViewer1.LocalReport.EnableExternalImages
= True

frmRptAssessRep.ReportTableAdapter.Fill(frmRptAssessRep.rubiconDataSet.Report)
frmRptAssessRep.ReportViewer1.RefreshReport()
frmRptAssessRep.ShowDialog()
frmAdditionalItems.ShowDialog()


It only happens on the client computers. Could I be missing a component in
my setup?

I am installing the Microsoft 2005 Report viewer as well.

Any help would be appreciated.

Thanks.
Jan Hyde (VB MVP)
2007-10-24 10:31:40 UTC
Permalink
Paul van Coller <***@discussions.microsoft.com>'s
wild thoughts were released on Wed, 24 Oct 2007 02:53:05
Post by Paul van Coller
When I print a Visual Basic .net Report my program crashes randomly.
It sometimes happens after the 3rd time I try it, and other times after the
second.
frmRptAssess.ReportViewer1.LocalReport.EnableExternalImages
= True
frmRptAssessRep.ReportTableAdapter.Fill(frmRptAssessRep.rubiconDataSet.Report)
frmRptAssessRep.ReportViewer1.RefreshReport()
frmRptAssessRep.ShowDialog()
frmAdditionalItems.ShowDialog()
It only happens on the client computers. Could I be missing a component in
my setup?
I am installing the Microsoft 2005 Report viewer as well.
Any help would be appreciated.
Try a group with dotnet in the name, this group deals with
VB6 (and below)

J
--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Paul van Coller
2007-10-24 16:34:00 UTC
Permalink
Thanks.

That was a bit slow from my side.

Thanks
Post by Jan Hyde (VB MVP)
wild thoughts were released on Wed, 24 Oct 2007 02:53:05
Post by Paul van Coller
When I print a Visual Basic .net Report my program crashes randomly.
It sometimes happens after the 3rd time I try it, and other times after the
second.
frmRptAssess.ReportViewer1.LocalReport.EnableExternalImages
= True
frmRptAssessRep.ReportTableAdapter.Fill(frmRptAssessRep.rubiconDataSet.Report)
frmRptAssessRep.ReportViewer1.RefreshReport()
frmRptAssessRep.ShowDialog()
frmAdditionalItems.ShowDialog()
It only happens on the client computers. Could I be missing a component in
my setup?
I am installing the Microsoft 2005 Report viewer as well.
Any help would be appreciated.
Try a group with dotnet in the name, this group deals with
VB6 (and below)
J
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde
Loading...