Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if MS-Word 2000 or better is available
Message
From
20/09/2006 17:25:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155374
Message ID:
01155757
Views:
16
>Hi Borislav
>
>Thanks for your response and the codes.
>
>> lcWordVersion = oWord.Version
>
>What kind of string does this return?

Bhavbhuti,
You check it wrapped with an on error routine but still do not undertake _IsClassRegistered function. It's a helper function meant to be called first. If you can't createobject("word.application") it doesn't mean word is not installed and that function gives the clue about a need to adjust COM security.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform