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
27/09/2006 12:54:53
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155374
Message ID:
01157558
Views:
20
Don't know if anyone has mentioned it or not, but you could check for the key of 9.0 or greater e.g.:

Word 2000:
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word

Word 2002:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word

Word 2003:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word


>Hi all
>
>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.
>
>Please advise.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform