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"