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

Tags: ,

AddIn do not start





 
 
Thread Tools Display Modes
  #11  
Old May 15th 08, 02:49 PM posted to microsoft.public.outlook.program_addins
Hahn, Thomas
external usenet poster
 
Posts: 15
Default AddIn do not start

The registration of the class under HKCR shows OK. The path is point to the
install folder of my Addin.

I have create a new OL Add-In with only one function "HELLO WORLD", if the
ConnectCompleted. By creating the new add-in project a setup project is also
created. I have create the addin for current user and for all users. But the
problem are the same - the Add-In don't say "Hello World"


Thomas


"Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag
...
The only reasons that the COM Add-Ins dialog doesn't show an addin are if
it's not registered or if it's registered for all users in the HKLM hive
of the registry instead of in HKCU (current user). Since you said that the
addin is registered only in HKCU (it's not there at all in HKLM, is it?)
the only thing left is that for whatever reason the addin is not being
registered.

When I say that I mean the class isn't being registered, not the addin
registration at \Software\Microsoft\Office\Outlook\Addins. The
registration I'm talking about is the COM registration in HKCR.

If that's the case then there's something wrong with your installer.

--
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


"Hahn, Thomas" wrote in message
...
The register property of the dll is set to 'vsdrpCOM'. The com add-in
dialog dosn't show the add-in at all. So I can't check the add in.

Thomas




Ads
  #12  
Old May 16th 08, 02:35 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,426
Default AddIn do not start

Your installer should only be registering the addin in either HKLM or HKCU,
not both.

I really don't know what to say. If the addin is registered for COM and has
the correct key in either HKCU or HKLM and LoadBehavior is set to 3 then the
only things are COM errors when starting up, Interop errors when loading
your addin, a badly screwed up installer setup or a lack of requirements or
prerequisites on the target machine.

Are you using the correct PIA for your setup? You need to download the
special Outlook 2002 PIA for use, none comes with Office 2002.

I'm not even sure if the Outlook 2002 PIA works with Framework 2.0 at all,
the oldest framework supported by VS 2008. There is no support for Outlook
2002 any more, it's not a current version of Outlook, so I'm just not sure
how to resolve your problems.

--
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


"Hahn, Thomas" wrote in message
...
The registration of the class under HKCR shows OK. The path is point to
the install folder of my Addin.

I have create a new OL Add-In with only one function "HELLO WORLD", if the
ConnectCompleted. By creating the new add-in project a setup project is
also created. I have create the addin for current user and for all users.
But the problem are the same - the Add-In don't say "Hello World"


Thomas


  #13  
Old July 25th 08, 06:09 PM posted to microsoft.public.outlook.program_addins
Vidya
external usenet poster
 
Posts: 8
Default AddIn do not start


Ken,
I am in a similar situation. I have an Outlook 2003 addin developed in VSTO
2005. The addin works fine on most machines but gets disabled sometimes on
others. We install it under HKLM. On one particular machine, even after
changing the loadbehavior back to 3, when Outlook is restarted, it disables
our addin again with LoadBehavior = 2. I have some error logging in
ThisAddin_startup. But that doesnt get called. We also have a catch-all
exception handler in Startup with error logging, nothing happens with that
either, which makes us believe the addin doesn't even get loaded. All
components are installed and registered properly. This user has a couple of
other addins disabled under About - Disabled Items and ours is not one of
those. The user runs McAfee virusscan. The scanner for email is one of the
disabled items? How do we figure out what the problem is? Any ideas? How do I
find out if the McAfee script stopper is running?

Thanks
Vidya

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

Your installer should only be registering the addin in either HKLM or HKCU,
not both.

I really don't know what to say. If the addin is registered for COM and has
the correct key in either HKCU or HKLM and LoadBehavior is set to 3 then the
only things are COM errors when starting up, Interop errors when loading
your addin, a badly screwed up installer setup or a lack of requirements or
prerequisites on the target machine.

Are you using the correct PIA for your setup? You need to download the
special Outlook 2002 PIA for use, none comes with Office 2002.

I'm not even sure if the Outlook 2002 PIA works with Framework 2.0 at all,
the oldest framework supported by VS 2008. There is no support for Outlook
2002 any more, it's not a current version of Outlook, so I'm just not sure
how to resolve your problems.

--
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


"Hahn, Thomas" wrote in message
...
The registration of the class under HKCR shows OK. The path is point to
the install folder of my Addin.

I have create a new OL Add-In with only one function "HELLO WORLD", if the
ConnectCompleted. By creating the new add-in project a setup project is
also created. I have create the addin for current user and for all users.
But the problem are the same - the Add-In don't say "Hello World"


Thomas



  #14  
Old July 25th 08, 08:49 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,426
Default AddIn do not start

What you will need to do is some Fusion debugging.

Fusion is the managed code loader and the logs from that should tell you at
least where and why your addin is getting disabled.

See the article at
http://blogs.msdn.com/vsod/archive/2...-failures.aspx
for information on the debugging you will have to do.

--
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


"Vidya" wrote in message
...

Ken,
I am in a similar situation. I have an Outlook 2003 addin developed in
VSTO
2005. The addin works fine on most machines but gets disabled sometimes on
others. We install it under HKLM. On one particular machine, even after
changing the loadbehavior back to 3, when Outlook is restarted, it
disables
our addin again with LoadBehavior = 2. I have some error logging in
ThisAddin_startup. But that doesnt get called. We also have a catch-all
exception handler in Startup with error logging, nothing happens with that
either, which makes us believe the addin doesn't even get loaded. All
components are installed and registered properly. This user has a couple
of
other addins disabled under About - Disabled Items and ours is not one of
those. The user runs McAfee virusscan. The scanner for email is one of the
disabled items? How do we figure out what the problem is? Any ideas? How
do I
find out if the McAfee script stopper is running?

Thanks
Vidya


 




Thread Tools
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
Outlook 2003 wants to start install every time I start Outlook. Steve Allen Outlook - Installation 2 August 10th 07 02:42 AM
VBA Addin Mark Ivey Outlook and VBA 1 June 9th 07 03:23 PM
C# or C++ Addin Alan Add-ins for Outlook 1 June 8th 07 06:06 PM
addin tab Roy Add-ins for Outlook 11 September 28th 06 11:09 PM
Help with AddIn nickdu Add-ins for Outlook 3 September 28th 06 02:35 PM


All times are GMT +1. The time now is 09:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Mortgages - Fast Loans - Adverse Credit Remortgage - Money - Death Note Episodes