In am using MS Word via OLE to produce documents from my application. I want to give the users that have MS Office 2007 SP2 installed the ability to save the documents as PDF. This is only available in SP2, and the option should be hidden if the service pack is not installed (and of course also for users of previous versions of MS Office).
Is this information available anywhere, like in the registry or any configuration file?
For the actual version infos that apply to the individual service packs have a look at this well hidden kb entry:
http://support.microsoft.com/kb/928116
Couldn't find anything helpful for you but here is something which you might find useful.
Office version is stored in registry
HKEY_LOCAL_MACHINE \Software\Microsoft\Office\12.0\Common\productVersion
the value 12.0 changes for office 2003 and 2007. This key has a number. I think checking this number for different version (with/without SP1/SP2) and see if there sia difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With