Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Excel (Office XP versiont) with VFP 6.0
Message
De
07/01/2002 15:28:26
 
 
À
06/01/2002 22:27:09
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00601394
Message ID:
00601628
Vues:
26
>I can successfully automate Excel 2000 (Office 2000) from VFP6.0 but as soon as I try to automate Excel 2002 (Office 2000) VFP gives a Fatal Error: Exception Code = C0000005 at the following line.
>
>oExcel = CREATEOBJECT("Excel.Application") && Works for Excel 2000
>
>What works for Excel 2002?
>

The same line should work. Happens I just reconfigured a machine and put Office XP on it. I don't have VFP 6, but from VFP 7, the line you show works just fine.

There is a service pack for Office XP, but I haven't installed it yet.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform