![]() |
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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |