FlagIcon update

J

JonWayne

In an application I created, I programatically control Outlook 2003. I use
CreateObject to get the application if GetObject fails. From there I
reference a namespace object, Logon, and reference several other objects
including the Inbox MapiFolder. In a For loop I grab each MailItem in the
Inbox, and based on certain properties of each message, I set the messages
FlagIcon to one of the available settings. I notice that after I am all
done, if I switch to, or open Outlook, none of the messages in the Inbox has
its flag set.
Can someone explain why?

I did not use the Inspector object in my programming, could this have
anything to do with it?

Thank you.
 
M

Milly Staples [MVP - Outlook]

Try one of the Outlook programming groups, either _vba or _forms.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact. Due to
the (insert latest virus name here) virus, all mail sent to my personal
account will be deleted without reading.

| In an application I created, I programatically control Outlook 2003. I use
| CreateObject to get the application if GetObject fails. From there I
| reference a namespace object, Logon, and reference several other objects
| including the Inbox MapiFolder. In a For loop I grab each MailItem in the
| Inbox, and based on certain properties of each message, I set the messages
| FlagIcon to one of the available settings. I notice that after I am all
| done, if I switch to, or open Outlook, none of the messages in the Inbox
has
| its flag set.
| Can someone explain why?
|
| I did not use the Inspector object in my programming, could this have
| anything to do with it?
|
| Thank you.
|
|
 
Top