PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins add-in not getting called with EE_CONTEXT_VIEWER context ?

Reply

add-in not getting called with EE_CONTEXT_VIEWER context ?

 
Thread Tools Rate Thread
Old 09-03-2005, 03:37 AM   #1
Beiley
Guest
 
Posts: n/a
Default add-in not getting called with EE_CONTEXT_VIEWER context ?


I have occasionally had reports from users that my add-in doesn't load.
They can make it load by just going to look at the add-ins under
"Tools / Options / Other / Advanced Options... / Add-in Manager", and
not even making any changes. It seems just bringing up these dialogs
causes it to load. This doesn't happen for me on any of my test
systems, but I've had more than one user report this problem. I was
able to debug it on one of these problematic systems, and the add-in
gets loaded for these contexts:

EE_CONTEXT_TASK
EE_CONTEXT_SESSION

but then not for:

EE_CONTEXT_VIEWER

On my system where the add-in loads properly I always get loaded for
all three:

EE_CONTEXT_TASK
EE_CONTEXT_SESSION
EE_CONTEXT_VIEWER

I'm adding my menu items only when my add-in gets loaded in the
EE_CONTEXT_VIEWER context. I'm wondering if anyone has any ideas why
some systems don't seem to load the add-in in this context?

FYI, my add-in is based off of this article:

http://www.codeproject.com/useritems/Outlook-addin.asp

Thanks,
Mark Beiley
http://www.email-announcer.com

  Reply With Quote
Old 09-03-2005, 05:58 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: add-in not getting called with EE_CONTEXT_VIEWER context ?

Do you install the ECE using registry or an ECF file? ECEs installed using
registry are only loaded in the viewer context for the IPM.Note messages. If
you need to support other message types, use an ECF file and specify
MoreContexts in it.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Beiley" <googlegroups@beiley.com> wrote in message
news:1110339455.668990.305660@z14g2000cwz.googlegroups.com...
>I have occasionally had reports from users that my add-in doesn't load.
> They can make it load by just going to look at the add-ins under
> "Tools / Options / Other / Advanced Options... / Add-in Manager", and
> not even making any changes. It seems just bringing up these dialogs
> causes it to load. This doesn't happen for me on any of my test
> systems, but I've had more than one user report this problem. I was
> able to debug it on one of these problematic systems, and the add-in
> gets loaded for these contexts:
>
> EE_CONTEXT_TASK
> EE_CONTEXT_SESSION
>
> but then not for:
>
> EE_CONTEXT_VIEWER
>
> On my system where the add-in loads properly I always get loaded for
> all three:
>
> EE_CONTEXT_TASK
> EE_CONTEXT_SESSION
> EE_CONTEXT_VIEWER
>
> I'm adding my menu items only when my add-in gets loaded in the
> EE_CONTEXT_VIEWER context. I'm wondering if anyone has any ideas why
> some systems don't seem to load the add-in in this context?
>
> FYI, my add-in is based off of this article:
>
> http://www.codeproject.com/useritems/Outlook-addin.asp
>
> Thanks,
> Mark Beiley
> http://www.email-announcer.com
>



  Reply With Quote
Old 10-03-2005, 04:58 PM   #3
Mark Beiley
Guest
 
Posts: n/a
Default Re: add-in not getting called with EE_CONTEXT_VIEWER context ?

I do use the registry for installation. I am only interested in message
views. The add-in works fine on all systems I've had direct access to, it
only affects a small percentage for some unknown reason... Any more ideas,
or thoughts on how I could debug it?

Thanks,
Mark
http://www.email-announcer.com

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:u5crOGNJFHA.3992@TK2MSFTNGP10.phx.gbl...
> Do you install the ECE using registry or an ECF file? ECEs installed using
> registry are only loaded in the viewer context for the IPM.Note messages.
> If you need to support other message types, use an ECF file and specify
> MoreContexts in it.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Beiley" <googlegroups@beiley.com> wrote in message
> news:1110339455.668990.305660@z14g2000cwz.googlegroups.com...
>>I have occasionally had reports from users that my add-in doesn't load.
>> They can make it load by just going to look at the add-ins under
>> "Tools / Options / Other / Advanced Options... / Add-in Manager", and
>> not even making any changes. It seems just bringing up these dialogs
>> causes it to load. This doesn't happen for me on any of my test
>> systems, but I've had more than one user report this problem. I was
>> able to debug it on one of these problematic systems, and the add-in
>> gets loaded for these contexts:
>>
>> EE_CONTEXT_TASK
>> EE_CONTEXT_SESSION
>>
>> but then not for:
>>
>> EE_CONTEXT_VIEWER
>>
>> On my system where the add-in loads properly I always get loaded for
>> all three:
>>
>> EE_CONTEXT_TASK
>> EE_CONTEXT_SESSION
>> EE_CONTEXT_VIEWER
>>
>> I'm adding my menu items only when my add-in gets loaded in the
>> EE_CONTEXT_VIEWER context. I'm wondering if anyone has any ideas why
>> some systems don't seem to load the add-in in this context?
>>
>> FYI, my add-in is based off of this article:
>>
>> http://www.codeproject.com/useritems/Outlook-addin.asp
>>
>> Thanks,
>> Mark Beiley
>> http://www.email-announcer.com
>>

>
>



  Reply With Quote
Old 10-03-2005, 07:22 PM   #4
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: add-in not getting called with EE_CONTEXT_VIEWER context ?

Are you sure the message has the IPM.Note class?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Mark Beiley" <donotuse@nowhere.com> wrote in message
news:%23c1BmJZJFHA.3528@tk2msftngp13.phx.gbl...
>I do use the registry for installation. I am only interested in message
>views. The add-in works fine on all systems I've had direct access to, it
>only affects a small percentage for some unknown reason... Any more ideas,
>or thoughts on how I could debug it?
>
> Thanks,
> Mark
> http://www.email-announcer.com
>
> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:u5crOGNJFHA.3992@TK2MSFTNGP10.phx.gbl...
>> Do you install the ECE using registry or an ECF file? ECEs installed
>> using registry are only loaded in the viewer context for the IPM.Note
>> messages. If you need to support other message types, use an ECF file and
>> specify MoreContexts in it.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Beiley" <googlegroups@beiley.com> wrote in message
>> news:1110339455.668990.305660@z14g2000cwz.googlegroups.com...
>>>I have occasionally had reports from users that my add-in doesn't load.
>>> They can make it load by just going to look at the add-ins under
>>> "Tools / Options / Other / Advanced Options... / Add-in Manager", and
>>> not even making any changes. It seems just bringing up these dialogs
>>> causes it to load. This doesn't happen for me on any of my test
>>> systems, but I've had more than one user report this problem. I was
>>> able to debug it on one of these problematic systems, and the add-in
>>> gets loaded for these contexts:
>>>
>>> EE_CONTEXT_TASK
>>> EE_CONTEXT_SESSION
>>>
>>> but then not for:
>>>
>>> EE_CONTEXT_VIEWER
>>>
>>> On my system where the add-in loads properly I always get loaded for
>>> all three:
>>>
>>> EE_CONTEXT_TASK
>>> EE_CONTEXT_SESSION
>>> EE_CONTEXT_VIEWER
>>>
>>> I'm adding my menu items only when my add-in gets loaded in the
>>> EE_CONTEXT_VIEWER context. I'm wondering if anyone has any ideas why
>>> some systems don't seem to load the add-in in this context?
>>>
>>> FYI, my add-in is based off of this article:
>>>
>>> http://www.codeproject.com/useritems/Outlook-addin.asp
>>>
>>> Thanks,
>>> Mark Beiley
>>> http://www.email-announcer.com
>>>

>>
>>

>
>



  Reply With Quote
Old 12-03-2005, 01:17 AM   #5
Mark Beiley
Guest
 
Posts: n/a
Default Re: add-in not getting called with EE_CONTEXT_VIEWER context ?

I was able to fix this, although I don't quite understand why... Maybe it
will make sense to someone else?

My add-in is using the registry to tell Outlook what contexts to load in. I
was using:

4.0;C:\PROGRA~1\EANNOU~1\EANNOU~1.DLL;1;11000000000001;0000000

as I mentioned this worked (my add-in got loaded in the EE_CONTEXT_VIEWER
context) on all my test systems, but I had several customers report it
wouldn't load. I was able to get help debugging this from one of these
customers, and eventually determined that if we set it to load in all
contexts:

4.0;C:\PROGRA~1\EANNOU~1\EANNOU~1.DLL;1;11111111111111;1111111

that it begain loading fine on their machine. Why is this? I was cutting
back on telling it what contexts to load in, just to reduce overhead.

Thanks,
Mark
http://www.email-announcer.com


"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:%23BB6yZaJFHA.4056@TK2MSFTNGP14.phx.gbl...
> Are you sure the message has the IPM.Note class?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Mark Beiley" <donotuse@nowhere.com> wrote in message
> news:%23c1BmJZJFHA.3528@tk2msftngp13.phx.gbl...
>>I do use the registry for installation. I am only interested in message
>>views. The add-in works fine on all systems I've had direct access to, it
>>only affects a small percentage for some unknown reason... Any more
>>ideas, or thoughts on how I could debug it?
>>
>> Thanks,
>> Mark
>> http://www.email-announcer.com
>>
>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
>> news:u5crOGNJFHA.3992@TK2MSFTNGP10.phx.gbl...
>>> Do you install the ECE using registry or an ECF file? ECEs installed
>>> using registry are only loaded in the viewer context for the IPM.Note
>>> messages. If you need to support other message types, use an ECF file
>>> and specify MoreContexts in it.
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Beiley" <googlegroups@beiley.com> wrote in message
>>> news:1110339455.668990.305660@z14g2000cwz.googlegroups.com...
>>>>I have occasionally had reports from users that my add-in doesn't load.
>>>> They can make it load by just going to look at the add-ins under
>>>> "Tools / Options / Other / Advanced Options... / Add-in Manager", and
>>>> not even making any changes. It seems just bringing up these dialogs
>>>> causes it to load. This doesn't happen for me on any of my test
>>>> systems, but I've had more than one user report this problem. I was
>>>> able to debug it on one of these problematic systems, and the add-in
>>>> gets loaded for these contexts:
>>>>
>>>> EE_CONTEXT_TASK
>>>> EE_CONTEXT_SESSION
>>>>
>>>> but then not for:
>>>>
>>>> EE_CONTEXT_VIEWER
>>>>
>>>> On my system where the add-in loads properly I always get loaded for
>>>> all three:
>>>>
>>>> EE_CONTEXT_TASK
>>>> EE_CONTEXT_SESSION
>>>> EE_CONTEXT_VIEWER
>>>>
>>>> I'm adding my menu items only when my add-in gets loaded in the
>>>> EE_CONTEXT_VIEWER context. I'm wondering if anyone has any ideas why
>>>> some systems don't seem to load the add-in in this context?
>>>>
>>>> FYI, my add-in is based off of this article:
>>>>
>>>> http://www.codeproject.com/useritems/Outlook-addin.asp
>>>>
>>>> Thanks,
>>>> Mark Beiley
>>>> http://www.email-announcer.com
>>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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