VSTO Outlook project

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-01T06:05:40Z Indexed on 2010/04/01 6:13 UTC
Read the original article Hit count: 419

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about outlook-2007

Related posts about vsto