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

Disabling Exchange client extension from add-in



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 9th 08, 10:01 PM posted to microsoft.public.outlook.program_addins
necnec
external usenet poster
 
Posts: 2
Default Disabling Exchange client extension from add-in

Hello,

I'm writing an add-in to OL2003. When doing some activity, I need to disable
temporarily one of the Exchange Client Extensions (PGP, if it matters).

Is there some way to do it programatically?

Thanks,
Nec

Ads
  #2  
Old October 9th 08, 10:16 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Disabling Exchange client extension from add-in

No, not unless you hack the format of the registry key where Outlook stores
the list of disabled extensions.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"necnec" u46802@uwe wrote in message news:8b6c3f8099997@uwe...
Hello,

I'm writing an add-in to OL2003. When doing some activity, I need to
disable
temporarily one of the Exchange Client Extensions (PGP, if it matters).

Is there some way to do it programatically?

Thanks,
Nec



  #3  
Old October 9th 08, 11:45 PM posted to microsoft.public.outlook.program_addins
necnec
external usenet poster
 
Posts: 2
Default Disabling Exchange client extension from add-in

Thanks Dmitry.

The reason I've looked to disable it, is that there is some resource leak,
when I move more than 20-30 messages, causing the PGP extension to pop an
error message three times for every message.

Looking at the Redemption FAQ (I'm not using Redemption yet), I've added
calls to GC.Collect, and I've skipped using MailItem object for each copy,
using Selection.item.move directly.
It helped a lot.

I have two more questions:
1. Even though I turn of the preview pane before moving messages, still a PGP
window comes up whenever I'm going over an encrypted message. (I turn the
pane of by ShowPane(,off)).
I don't see this behavior when turning the pane off from OL menus.

2. Is there a more efficient way to copy messages, aside of going one by one?

Thanks again,
Nec

Dmitry Streblechenko wrote:
No, not unless you hack the format of the registry key where Outlook stores
the list of disabled extensions.

Hello,

[quoted text clipped - 6 lines]
Thanks,
Nec


  #4  
Old October 11th 08, 09:13 PM posted to microsoft.public.outlook.program_addins
Dave Vespa [MSFT]
external usenet poster
 
Posts: 9
Default Disabling Exchange client extension from add-in

Hi Nec,

Could you please describe your problem with the PGP extension in more
detail? I am working on a similar issue within Outlook and I would like to
know if it's related.

What is the exact error message you are experiencing?

What steps do you need to take to see this problem?

Thanks,
Dave

"necnec" wrote:

Thanks Dmitry.

The reason I've looked to disable it, is that there is some resource leak,
when I move more than 20-30 messages, causing the PGP extension to pop an
error message three times for every message.

Looking at the Redemption FAQ (I'm not using Redemption yet), I've added
calls to GC.Collect, and I've skipped using MailItem object for each copy,
using Selection.item.move directly.
It helped a lot.

I have two more questions:
1. Even though I turn of the preview pane before moving messages, still a PGP
window comes up whenever I'm going over an encrypted message. (I turn the
pane of by ShowPane(,off)).
I don't see this behavior when turning the pane off from OL menus.

2. Is there a more efficient way to copy messages, aside of going one by one?

Thanks again,
Nec

Dmitry Streblechenko wrote:
No, not unless you hack the format of the registry key where Outlook stores
the list of disabled extensions.

Hello,

[quoted text clipped - 6 lines]
Thanks,
Nec



  #5  
Old October 18th 08, 06:39 PM posted to microsoft.public.outlook.program_addins
necnec via OfficeKB.com
external usenet poster
 
Posts: 4
Default Disabling Exchange client extension from add-in

Hello Dave,

What I'm doing is copying messages from one folder to another.
When the number of messages is in the area of up to 100, it is usually OK.
But, when the number is bigger, I get the message box:
"The add-in "pgpExch.dll" could not be installed or loaded. This problem may
be resolved by using Detect and Repair on the Help Menu"

What else may or may not be connected, is that even when I turn off the
preview pane, when I reach a message which is PGP, the PGP dialog box to
enter the passphrase pops-up.
On the other hand, when I go over the messages with the arrows/mouse, and the
preview pane is off, this dialog does not come up.

Of course, when I copy/move messages by drag&drop, I see no such issue. I
don't know how is it implemented inside outlook.

If you have any further information, I'd love to hear it.

Thanks,
Nec

Dave Vespa [MSFT] wrote:
Hi Nec,

Could you please describe your problem with the PGP extension in more
detail? I am working on a similar issue within Outlook and I would like to
know if it's related.

What is the exact error message you are experiencing?

What steps do you need to take to see this problem?

Thanks,
Dave

Thanks Dmitry.

[quoted text clipped - 26 lines]
Thanks,
Nec


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200810/1

  #6  
Old October 23rd 08, 12:38 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Disabling Exchange client extension from add-in

That error is usually an indication that you are accessing the
Explorer.Selection collection and Outlook opens all selected messages and
runs out of the 255 RPC channels limit in the online mode.
The name of the ECE might not mean much.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"necnec via OfficeKB.com" u46802@uwe wrote in message
news:8bdba3952b80e@uwe...
Hello Dave,

What I'm doing is copying messages from one folder to another.
When the number of messages is in the area of up to 100, it is usually OK.
But, when the number is bigger, I get the message box:
"The add-in "pgpExch.dll" could not be installed or loaded. This problem
may
be resolved by using Detect and Repair on the Help Menu"

What else may or may not be connected, is that even when I turn off the
preview pane, when I reach a message which is PGP, the PGP dialog box to
enter the passphrase pops-up.
On the other hand, when I go over the messages with the arrows/mouse, and
the
preview pane is off, this dialog does not come up.

Of course, when I copy/move messages by drag&drop, I see no such issue. I
don't know how is it implemented inside outlook.

If you have any further information, I'd love to hear it.

Thanks,
Nec

Dave Vespa [MSFT] wrote:
Hi Nec,

Could you please describe your problem with the PGP extension in more
detail? I am working on a similar issue within Outlook and I would like
to
know if it's related.

What is the exact error message you are experiencing?

What steps do you need to take to see this problem?

Thanks,
Dave

Thanks Dmitry.

[quoted text clipped - 26 lines]
Thanks,
Nec


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200810/1



  #7  
Old October 23rd 08, 05:32 PM posted to microsoft.public.outlook.program_addins
necnec via OfficeKB.com
external usenet poster
 
Posts: 4
Default Disabling Exchange client extension from add-in

Hello Dmitry, and thanks again.

What is the best way to overcome this limitation?
I call GC.Collect after every message.

Will it help if I'll move outlook to offline mode during this copy/move?
Can I do it at all?

Is there a better way to move selected message from folder to folder?

Thanks,
Nec

Dmitry Streblechenko wrote:
That error is usually an indication that you are accessing the
Explorer.Selection collection and Outlook opens all selected messages and
runs out of the 255 RPC channels limit in the online mode.
The name of the ECE might not mean much.

Hello Dave,

[quoted text clipped - 39 lines]
Thanks,
Nec


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200810/1

  #8  
Old October 23rd 08, 08:25 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Disabling Exchange client extension from add-in

There is nothing you can do if you are in the online mode (as opposed to
cached).

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"necnec via OfficeKB.com" u46802@uwe wrote in message
news:8c19ec5e60d12@uwe...
Hello Dmitry, and thanks again.

What is the best way to overcome this limitation?
I call GC.Collect after every message.

Will it help if I'll move outlook to offline mode during this copy/move?
Can I do it at all?

Is there a better way to move selected message from folder to folder?

Thanks,
Nec

Dmitry Streblechenko wrote:
That error is usually an indication that you are accessing the
Explorer.Selection collection and Outlook opens all selected messages and
runs out of the 255 RPC channels limit in the online mode.
The name of the ECE might not mean much.

Hello Dave,

[quoted text clipped - 39 lines]
Thanks,
Nec


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200810/1



  #9  
Old October 24th 08, 01:41 PM posted to microsoft.public.outlook.program_addins
necnec via OfficeKB.com
external usenet poster
 
Posts: 4
Default Disabling Exchange client extension from add-in

As far as I can see I am in Exchange Cached mode. Does this mean that there
is a solution?

Also, how does outlook does the copying of mutiple messages, and can I use
the same method?

Thanks,
Nec

Dmitry Streblechenko wrote:
There is nothing you can do if you are in the online mode (as opposed to
cached).

Hello Dmitry, and thanks again.

[quoted text clipped - 19 lines]
Thanks,
Nec


--
Message posted via http://www.officekb.com

  #10  
Old October 24th 08, 07:07 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Disabling Exchange client extension from add-in

This has nothign to do with copying messages, but rather with accessing the
Explorer.Selection collection.
You might also want to look at
http://blogs.msdn.com/dvespa/archive...exhausted.aspx

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"necnec via OfficeKB.com" u46802@uwe wrote in message
news:8c24798722767@uwe...
As far as I can see I am in Exchange Cached mode. Does this mean that
there
is a solution?

Also, how does outlook does the copying of mutiple messages, and can I use
the same method?

Thanks,
Nec

Dmitry Streblechenko wrote:
There is nothing you can do if you are in the online mode (as opposed to
cached).

Hello Dmitry, and thanks again.

[quoted text clipped - 19 lines]
Thanks,
Nec


--
Message posted via http://www.officekb.com



 




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
Microsoft Exchange Client Extension v/s COM Add-in Rahul[_2_] Add-ins for Outlook 4 January 29th 08 04:58 PM
Exchange Client Extension under Outlook 2002 Vladimir Werskov Add-ins for Outlook 4 August 27th 07 10:46 AM
outlook toolbar: 256 color bitmaps via exchange client extension (ECE)? [email protected] Add-ins for Outlook 8 November 13th 06 11:23 AM
Item open events and double click events in exchange client extension. Fanxa Add-ins for Outlook 1 August 9th 06 09:18 AM
Setup exchange client iwanttoknowmore Outlook - Installation 1 May 13th 06 03:22 PM


All times are GMT +1. The time now is 08:51 PM.


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.