T
Tom Ellison
Dear friends:
I am considering a distributable add-in for Access that would need to open
an instance of WinWord.exe. Naturally, the invocation of this requires a
complete path. I have found that in my current registry at:
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Office
10.0
Word
InstallRoot
Path
Any idea whether this would be the registry key and name to locate the
installed WinWord even if Word were purchased separately, not as a part of
Office?
It is possible there would be an older version of WinWord installed, rather
than 10.0. Any possibility of cataloging for me the versions possible? I
would have to install each one (I have MSDN Universal access to older
versions) and see which ones work with my application. Would each have a
different entry where this says 10.0? Has the key been kept standard across
Word versions?
Likely, I would search the registry for each acceptable version, starting
with the newest and most preferable version. So, I need to generate a list
of keys and search till the first is found (if any). Does this sound like
the standard approach? Any other methods or suggestions would be most
welcome.
Finally, I don't have the dll and function name for this at hand, that is,
to pass the key and name and return the value, the path. I'm sure I can
find it in my resources here, but if you have it close at hand, it would
save me a few minutes. If you don't have it very handy, I'll do it for
myself. Just thought I'd ask.
Thanks, very much, for your time and kindness.
Tom Ellison
I am considering a distributable add-in for Access that would need to open
an instance of WinWord.exe. Naturally, the invocation of this requires a
complete path. I have found that in my current registry at:
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Office
10.0
Word
InstallRoot
Path
Any idea whether this would be the registry key and name to locate the
installed WinWord even if Word were purchased separately, not as a part of
Office?
It is possible there would be an older version of WinWord installed, rather
than 10.0. Any possibility of cataloging for me the versions possible? I
would have to install each one (I have MSDN Universal access to older
versions) and see which ones work with my application. Would each have a
different entry where this says 10.0? Has the key been kept standard across
Word versions?
Likely, I would search the registry for each acceptable version, starting
with the newest and most preferable version. So, I need to generate a list
of keys and search till the first is found (if any). Does this sound like
the standard approach? Any other methods or suggestions would be most
welcome.
Finally, I don't have the dll and function name for this at hand, that is,
to pass the key and name and return the value, the path. I'm sure I can
find it in my resources here, but if you have it close at hand, it would
save me a few minutes. If you don't have it very handy, I'll do it for
myself. Just thought I'd ask.
Thanks, very much, for your time and kindness.
Tom Ellison