![]() |
| 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. |
|
|||||||
| Tags: addin, start |
|
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
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 |