Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CR Preview Error
Message
From
06/03/2002 00:00:55
 
 
To
05/03/2002 23:27:56
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00628833
Message ID:
00628835
Views:
51
Hiya EC,

1) Is the crViewer registered?
2) Is the crViewer in the path?

Just a thought...

Ric

>WHEN I RUN THE FOLLOWING CODE IN FORM INIT METHOD
>
>THIS.oCrystalReports = CREATEOBJECT('CrystalRuntime.Application')
>THIS.oReport = CREATEOBJECT('CrystalRuntime.Report')
>THIS.oReport = THIS.oCrystalReports.OpenReport('reports\balCodeWidth.rpt')
>THIS.addObject('oleCRViewer','oleControl','crViewer.crViewer')
>THIS.oleCRViewer.Top = 1
>THIS.oleCRViewer.Left = 1
>THIS.oleCRViewer.Height = THISFORM.Height - 2
>THIS.oleCRViewer.Width = THISFORM.Width - 2
>THIS.oleCRViewer.ReportSource = THISFORM.oReport
>THIS.oleCRViewer.ViewReport()
>
>
>System prompt me following error :
>
>OLE exception error: Exception code c0000005. OLE object may be corrup
>
>Why?
>
>TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform