General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only