Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if MS-Word 2000 or better is available
Message
 
 
To
20/09/2006 06:12:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155374
Message ID:
01157554
Views:
22
>When a CREATEOBJECT() is executed to automate MS-Word it raises and error. How can I check before hand if MS-Word (better if I can find out if the version is 2000 or above) exists at all. I would like to disable a menu option before hand based on this fact.
>
> TEXT TO lcMsg TEXTMERGE NOSHOW PRETEXT 3
> You must have either at least Word 2000 installed
> to continue.
> ENDTEXT
> MESSAGEBOX( lcMsg, 64, [T. K. Plastics] )

Marcia,

I just noticed that you said "either at least". Should not it be only one of them, e.g. either OR at least, but not both in the same sentence?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform