Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if MS Word is installed
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00415559
Message ID:
00415584
Views:
32
>>Just wondering how I can determine (programmatically) if a user has MS Word 97 (or higher) installed on the pc which is running my app.
>
>Why not just try CREATEOBJECT("word.application"), and trap for an error? The reason I suggest this is that it will not only determine whether or not Word is installed, it will also determine whether or not you'll have COM automation problems later in the program.
--------------------------------

Thanks, Mike. As a side note, will error number 1733 always be the error number returned (supposing the user does NOT have Word installed) since the class definition can't be located? (I want to make sure I'm trapping for the correct error!)

Thanks again!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform