PC Review


Reply
Thread Tools Rate Thread

ActiveExplorer.Selection exception / working with currently selecded items

 
 
Greg Vasilyev
Guest
Posts: n/a
 
      2nd Mar 2004
Hello everyone:



I am trying to create an Outlook Add-in that will pick all selected contact
items in a currently visible folder and will create a broadcast fax message
using information saved with each contact item.



I was originally trying to perform this using VBA macro. It crashed and I
tried to make an add-in (for better stability) that currently gives me the
same error message.



When I do colSelectedItems = oApplication.ActiveExplorer.Selection, Outlook
starts to pull each selected contact's data into Selection collection. It
does it for about 30sec (memory used by application increases) and then it
throws an exception "The messaging interface has returned an unknown error.
If the problem persists, restart Outlook" and the memory usage drops down.



The same code works just fine when I select about 200 items. When I select
something more than 300, it throws the exception.



The contacts in a folder have a customized form set up. Tried with the same
result on Outlook 2000 - 2003 and MS Exchange 2003 on the back-end.



Any help is greatly appreciated.



Sincerely,

Greg Vasilyev


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limitation with ActiveExplorer Selection? Rafael Microsoft Outlook Form Programming 10 4th Aug 2004 03:11 PM
ActiveExplorer.Selection exception / working with currently selecded items Greg Vasilyev Microsoft Outlook Form Programming 7 3rd Mar 2004 05:58 AM
ActiveExplorer.Selection exception / working with currently selecded items Greg Vasilyev Microsoft Outlook VBA Programming 7 3rd Mar 2004 05:58 AM
ActiveExplorer.Selection exception / working with currently selecded items Greg Vasilyev Microsoft Outlook Program Addins 7 3rd Mar 2004 05:58 AM
ActiveExplorer.Selection exception / working with currently selecded items Greg Vasilyev Microsoft Outlook Contacts 0 2nd Mar 2004 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:57 PM.