![]() |
VSTO Add-In Loading Twice
All,
I have posted here before and received great advice. However, I am writing a VSTO Outlook Add-In, and still have an issue where the Add-In loads twice When debugging and sometimes starting Outlook 2007. I have tried Mutex, registry checking and a variety of other methods to no avail. Any suggestions? My goal is to ensure only one copy of my Add-In loads and executes. I have confired the Add-In is loading twice as "ThisAddIn_Startup" is fired two times. Thank you. |
VSTO Add-In Loading Twice
Check in the registry under HKCU\Software\Microsoft\Office\Outlook\Addins
and make sure it's not registered twice, possibly under different clsid's or names. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Paulem0071" wrote in message ... All, I have posted here before and received great advice. However, I am writing a VSTO Outlook Add-In, and still have an issue where the Add-In loads twice When debugging and sometimes starting Outlook 2007. I have tried Mutex, registry checking and a variety of other methods to no avail. Any suggestions? My goal is to ensure only one copy of my Add-In loads and executes. I have confired the Add-In is loading twice as "ThisAddIn_Startup" is fired two times. Thank you. |
VSTO Add-In Loading Twice
Are you using Form Regions? I have seen this issue reported by two other
both using Form Regions. Dave "Ken Slovak - [MVP - Outlook]" wrote: Check in the registry under HKCU\Software\Microsoft\Office\Outlook\Addins and make sure it's not registered twice, possibly under different clsid's or names. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Paulem0071" wrote in message ... All, I have posted here before and received great advice. However, I am writing a VSTO Outlook Add-In, and still have an issue where the Add-In loads twice When debugging and sometimes starting Outlook 2007. I have tried Mutex, registry checking and a variety of other methods to no avail. Any suggestions? My goal is to ensure only one copy of my Add-In loads and executes. I have confired the Add-In is loading twice as "ThisAddIn_Startup" is fired two times. Thank you. |
VSTO Add-In Loading Twice
Not using form regions.
However, here is how I solved it: Started a brand spanking new VSTO Solution and Project, then cut and pasted my source code back in class by class. Tedious, but it worked. "Dave Vespa [MSFT]" wrote: Are you using Form Regions? I have seen this issue reported by two other both using Form Regions. Dave "Ken Slovak - [MVP - Outlook]" wrote: Check in the registry under HKCU\Software\Microsoft\Office\Outlook\Addins and make sure it's not registered twice, possibly under different clsid's or names. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Paulem0071" wrote in message ... All, I have posted here before and received great advice. However, I am writing a VSTO Outlook Add-In, and still have an issue where the Add-In loads twice When debugging and sometimes starting Outlook 2007. I have tried Mutex, registry checking and a variety of other methods to no avail. Any suggestions? My goal is to ensure only one copy of my Add-In loads and executes. I have confired the Add-In is loading twice as "ThisAddIn_Startup" is fired two times. Thank you. |
All times are GMT +1. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com