I am trying to write a routine to look at the registry and identify if
Office 2003 is installed, then, if it is to take certain actions. I have
used the excellent Dev Ashish code that can read a registry key and I can do
it that way. The problem with that is that there are fifty odd computers
running Office and I need to look at HKEY_CURRENT_USER, then drill down to
Software, Microsoft, Office, 11.0 and beyond before I can get a registry
entry with a value to read. I have found that the keys that I thought might
be the same for all users are not even there for some users, so I am having
difficulty getting a common key that everyone has set in that branch of the
registry.
But, I don't really need a value, I only need to see that
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFFICE\11.0 exists.
This is turning out to be quite long winded, but what I need is a routine
that can simply look to see if that 11.0 is there. I don't need to read the
value of an actual registry entry. Any suggestions?
dixie