G
Greg Vasilyev
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
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