Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Word/Excel installed
Message
 
To
10/10/2001 10:32:20
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00566415
Message ID:
00566588
Views:
27
As a FYI side note to your question, the object model of Word was changed after Word95 so you will want to check the version to ensure any OLE Automation you do actually works. I restrict my users to Word97 and above.

IF VAL(oWord.Version) < 8
MS Word97 or later exists. Continue with code
ENDIF

>Hi,
>
>Is there a easy way to see if Word/Excel are installed on my system ?
>If i try a createobject("word.application") i get a CLASS DEFINITION IS NOT FOUND, but i want to check before i do the createobject.
>
>thx
>
>Guillaume
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform