A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VSTO Add-In Loading Twice



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 12th 08, 08:08 PM posted to microsoft.public.outlook.program_addins
Paulem0071
external usenet poster
 
Posts: 22
Default 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.
Ads
  #2  
Old November 12th 08, 09:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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.


  #3  
Old November 15th 08, 01:42 PM posted to microsoft.public.outlook.program_addins
Dave Vespa [MSFT]
external usenet poster
 
Posts: 9
Default 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.



  #4  
Old March 26th 09, 02:28 PM posted to microsoft.public.outlook.program_addins
Paulem0071
external usenet poster
 
Posts: 22
Default 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.



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions problem during VSTO addin loading Rajesh K Add-ins for Outlook 9 August 11th 07 09:50 PM
Auto Loading Philip Outlook Express 5 September 5th 06 05:53 PM
FAXEXT.ECF not loading Bob Outlook - Fax Functions 3 May 22nd 06 09:06 PM
Very slow loading Bob Outlook - General Queries 1 April 17th 06 07:50 PM
loading spedy Outlook Express 0 March 11th 06 08:08 PM


All times are GMT +1. The time now is 08:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.