Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CR Preview Error
Message
De
06/03/2002 00:00:55
 
 
À
05/03/2002 23:27:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00628833
Message ID:
00628835
Vues:
48
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform