Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Excel (Office XP versiont) with VFP 6.0
Message
From
07/01/2002 15:28:26
 
 
To
06/01/2002 22:27:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00601394
Message ID:
00601628
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform