Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for Excel instance?
Message
From
22/02/2002 09:48:44
 
 
To
22/02/2002 07:32:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00621712
Message ID:
00623694
Views:
20
Zlatin:

Thanks for checking this out. Whilst it may work the way it should with Excel XP, it certainly doesn't with Excel 2000 :(

-=Gary


>>With Excel 2000 getobject will always create an instance of Excel <s>. So, it wont error, so, you can't trap for it because it wont error.
>
>Tested this with Excel XP (on Win2k) in VFP6 SP5 & VFP7 SP1:
>
>oleApp = GETOBJECT(, "Excel.Application")
>
>
>It raises OLE error if I do not have instance of Excel.
>(As it is said in VFP Help)
>
>Will test it ASAP woth Excel 2000 and will tell you if it does not raise error and if I found a workaround.
>HTH
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform