View Single Post
  #4  
Old July 10th 07, 05:59 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Accessing Outlook while addin is running

Why exactly do you need to process *all* items in a folder? What is your
code?

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

"Pradeep Singh" wrote in message
...
I'm trying to process all the emails of a folder using a COM addin. I
get the folder (MAPIFolderPtr). From that I can get mails using
GetItems. This whole loop of going through mails takes quite a while.
And unfortunately Outlook does not respond to keyboard commands ( e.g.
ctrl N) during this, also the preview pane does not change even if I
choose
another e-mail ( mouse is working). Is this a known issue with COM
addins or I need to take care of something special to avoid this.

Another issue is, if I fire print (-PrintOut) on any item this call
is not honoured until I finish all the processing of the folder and
return from my COM adding control.
It would be great if someone could help me or point me to right
direction.


Kind Regards,
Pradeep





Ads