VSTO Outlook project
- by Chris
I currently have an Outlook 2007 VSTO plug-in which needs to write certain values into the registry. I am programmitically downloading and installing a new stationery into Outlook by saving a htm file into the users App Data folder and then updating the HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\MailSettings\NewTheme registry key which sets which stationery that is currently in use.
So far everything is fine for 2007, but I have checked a PC that is running Outlook 2010, and this registry key is in a different spot. Instead of 12.0 as the version it is 14.0, which makes sense.
Is there anyway I can determine what version the plugin is installed in, so that I can write the key based on the correct version in the correct location?!?
I haven't been able to find anything on this so far, but surely there is a way..?!?
Thanks in advance.
Chris