bugs >> Program crashes when I open report

by UGF1bCB2YW4gQ29sbGVy » Wed, 24 Oct 2007 17:53:05 GMT

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.


bugs >> Program crashes when I open report

by Jan Hyde (VB MVP) » Wed, 24 Oct 2007 18:31:40 GMT


Paul van Coller < XXXX@XXXXX.COM >'s
wild thoughts were released on Wed, 24 Oct 2007 02:53:05
-0700 bearing the following fruit:


Try a group with dotnet in the name, this group deals with
VB6 (and below)

J
https://mvp.support.microsoft.com/profile/Jan.Hyde



bugs >> Program crashes when I open report

by UGF1bCB2YW4gQ29sbGVy » Thu, 25 Oct 2007 00:34:00 GMT

Thanks.

That was a bit slow from my side.

Thanks





Similar Threads

1. Opening Excel file crashes program

My client uses my app on 2 PCs. It has been running fine for several months
on both.  Yesterday they called and said it will not work on one PC. Windows
terminates the app. The procedure that fails opens an Excel file and
populates it.

I went in and narrowed the problem down to the line
Set oWB = oXL.Workbooks.Open(sFormsPath)

My definitions:
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook

I have tried defining oWB as Object with no success.

Excel's Detect & Repair function was run with no change.

The client does not know of any changes made to her system this week. (no
guarantees though)

I've exhausted everything I know to look at.  Any other suggestions?

Thanks.
Paul



2. My imbedded Crystal report crashes program - VB Crystal Report

3. When I print a Visual Basic .net Report my program crashes randoml

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.

4. VB application crashing when Excel Report is opened from it

5. VB/ VBScript crashes when opening and exporting crystal report to

I have a vb6.0 program opening then exporting serveral crystal reports (8.5) 
under a directory to PDF files through Crystal ActiveX Object Model. The 
program randomly crashes sometimes. The same situation happens when I write 
the same program in VB script(5.6).  My computer has enough memory(512K) to 
play around. Only thing I notice is that the Computer Usuage reaches 100% 
when the program is running.  Does anyone know why it crashes randomly.
Thanks,

6. Open a program and program file from Access VBA - Microsoft Office Access

7. Display a Reporting services report from a vb.net program

Hi there, 

I have a new VB .net cash register application that I have written in VS 
.net 2003. I have also authored a report that goes along with this 
application. Can anyone tell me how to display a Reporting services report 
from within a VB .NET application without having to require the user to open 
IE? And, I need to have the report generate based on parameters passed to it. 

If anyone has any suggestions or has some sample code that will point me in 
the right direction, it would be greatly appreciated. 

Thanks! - Eric -

8. 1st record added to table crashes my program - VB.Net