Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal error in VB.exe error

Status
Not open for further replies.

PopTrain

Programmer
Jun 21, 2001
9
US
I have a VB application that can open multiple reports but it only opens one at a time it waits til the viewer is closed before opening the next. My problem is after doing this several times, I get a VB.exe error, an error log is is being created.

This error does not happen with any one specific error, or at any specific time. Sometimes the viewer will appear but no report. After this happens is usually when it will Crash!

I have provide as much as possible information but I know there is a VB wiz out there that knows what the problem is. If you need to know any thing let me know. VB6 & CR9 was used.


Questions:
1. What do you think is causing this error??

2. Where is the error log being created and how can I read it?

Below is some code.
This is where I open the form with that has the Viewer on it.

-----------------
frmPreviewReport.Show vbModal, Me

While frmPreviewReport.CRViewer1.IsBusy
'frmpreviewreport.CRViewer1
DoEvents
Wend
------------------


the next piece of code is where I am putting the report to the viewer.
------------------
CRViewer1.ReportSource = CrxReport
CRViewer1.ViewReport
Set CrxReport = Nothing
frmPreviewReport.WindowState = vbMaximized
CRViewer1.Zoom 75
------------------

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top