K
ksskumar
Hi,
I am creating a addin using C#. It is working fine in the development
system without any errors. Also I created the setup for the addin
(using inbuild dotnet setup project).
But, the addin is not working in the target machine. Let me explain
some thing in this problem,
1. I am not getting any explicit error messages in any stage
(development, build setup and install it to target machine)
2. I checked the registry of the target machine. The addin shows
like,
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns\MyAddin.Connect
Loadbehaviour REG_DWORD 0x00000003(3)
3. In the OnConnection method and the constructor of the addin, I put
some message box for the testing purpose, but it is not showing any
thing while loading outlook.
4. I am not seeing any "Disabled Items" on the Help\About Microsoft
outlook. So I am not able to know whether outlook is disabled my
addin or not.
5. Also I installed the PIA on the target machine.
6. Even I created a new setup project, but the addin is not loaded by
the outlook.
7. My outlook security level (Microsoft Outlook:
Tools\Macros\Security) is Medium, both in my development and target
system.
From the about point I am coming from a conclusion Outlook try to load
the addin when it is started but for some security reasons it disable
the addin.
Here are my queries,
1. Is my conclusion is correct ?
2. If yes, what could be the security reason to disable addin and how
to solve it?
3. If no, what else could be the problem to load my addin ?
4. Other then "Help\About Microsoft outlook\Disabled Items " is any
other way to know the list of disabled addins (developed in .net)?
5. Is any object in the outlook object mode / CDO contain the Disabled
Items (addins) method ?
6. How can I handled the exception to get the errors/problems in the
connect class (addin main calss)
Please clear my doubts.
Thanks in advance
Kumar
I am creating a addin using C#. It is working fine in the development
system without any errors. Also I created the setup for the addin
(using inbuild dotnet setup project).
But, the addin is not working in the target machine. Let me explain
some thing in this problem,
1. I am not getting any explicit error messages in any stage
(development, build setup and install it to target machine)
2. I checked the registry of the target machine. The addin shows
like,
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns\MyAddin.Connect
Loadbehaviour REG_DWORD 0x00000003(3)
3. In the OnConnection method and the constructor of the addin, I put
some message box for the testing purpose, but it is not showing any
thing while loading outlook.
4. I am not seeing any "Disabled Items" on the Help\About Microsoft
outlook. So I am not able to know whether outlook is disabled my
addin or not.
5. Also I installed the PIA on the target machine.
6. Even I created a new setup project, but the addin is not loaded by
the outlook.
7. My outlook security level (Microsoft Outlook:
Tools\Macros\Security) is Medium, both in my development and target
system.
From the about point I am coming from a conclusion Outlook try to load
the addin when it is started but for some security reasons it disable
the addin.
Here are my queries,
1. Is my conclusion is correct ?
2. If yes, what could be the security reason to disable addin and how
to solve it?
3. If no, what else could be the problem to load my addin ?
4. Other then "Help\About Microsoft outlook\Disabled Items " is any
other way to know the list of disabled addins (developed in .net)?
5. Is any object in the outlook object mode / CDO contain the Disabled
Items (addins) method ?
6. How can I handled the exception to get the errors/problems in the
connect class (addin main calss)
Please clear my doubts.
Thanks in advance
Kumar