Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: VSTO Add-In Loading Twice

Geek News

VSTO Add-In Loading Twice
Paulem0071 11/12/2008 8:08:02 PM
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.
Re: VSTO Add-In Loading Twice
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 11/12/2008 9:17:25 PM
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" <Paulem0071[ at ]discussions.microsoft.com> wrote in message
news:84C274D6-D613-4F87-9D4C-AE35849443BD[ at ]microsoft.com...
[Quoted Text]
> 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.

Re: VSTO Add-In Loading Twice
Dave Vespa [MSFT] 11/15/2008 1:42:01 PM
Are you using Form Regions? I have seen this issue reported by two other
both using Form Regions.

Dave

"Ken Slovak - [MVP - Outlook]" wrote:

[Quoted Text]
> 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" <Paulem0071[ at ]discussions.microsoft.com> wrote in message
> news:84C274D6-D613-4F87-9D4C-AE35849443BD[ at ]microsoft.com...
> > 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.
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net