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

Click here to load this message in the networking platform