Hi
I have application designed in Visual Basic 6 that uses Crystal Report 8 RDC component for displaying reports. Now i am experiencing some problems. First Ihave created a form that contains the RDC control to display report and every time i need the report i create an instance of that form as
Dim m_frmNewReportInstVar As New frmReportDialog
'//Here pass other settings
m_frmNewReportInstVar.Show
and in the frmReportDialog form i create an Application and Report objects and then set this report object to the RDC control and then display report.
Now After the report is displayed and i select export i select it to Save to disk then the save dialog appears and here is where problem arises. If Now i shift focus from this save dialog to somewhere else then the application hangs and i am unable to shift the focus to my application any more and i have to end task it. I don't understand wt happens to it.
Now the second problem i have under win 20000 is that if i export to some thing from my application reports then i get an empty file. If i export it under winNT work station it works fine. If i export from within Crystal Reports Designer then the export works ok. I use Crystal reports 8
If any body has any solutions to my problems plz let me know. I am stuck in these problems for quite a while and am not finding any solution.
Thanks
I have application designed in Visual Basic 6 that uses Crystal Report 8 RDC component for displaying reports. Now i am experiencing some problems. First Ihave created a form that contains the RDC control to display report and every time i need the report i create an instance of that form as
Dim m_frmNewReportInstVar As New frmReportDialog
'//Here pass other settings
m_frmNewReportInstVar.Show
and in the frmReportDialog form i create an Application and Report objects and then set this report object to the RDC control and then display report.
Now After the report is displayed and i select export i select it to Save to disk then the save dialog appears and here is where problem arises. If Now i shift focus from this save dialog to somewhere else then the application hangs and i am unable to shift the focus to my application any more and i have to end task it. I don't understand wt happens to it.
Now the second problem i have under win 20000 is that if i export to some thing from my application reports then i get an empty file. If i export it under winNT work station it works fine. If i export from within Crystal Reports Designer then the export works ok. I use Crystal reports 8
If any body has any solutions to my problems plz let me know. I am stuck in these problems for quite a while and am not finding any solution.
Thanks