Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Excel (Office XP versiont) with VFP 6.0
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00601394
Message ID:
00601404
Views:
29
Are you sure you have the latest Service Patch for Office XP? The command you showed below works fine in VFP6 and VFP7 for Office XP.

>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?
>
>Is this a MDAC issue?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform