Thread: Select item
View Single Post
  #5  
Old February 21st 07, 07:49 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Select item

As I originally responded, it is not possible to programmatically select a specific item.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"j" wrote in message oups.com...
I tried to use the Display method, however it's not meet my
requrement, i need to select specified mail item.
After getting the mailItem by using the Namespace.GetItemFromID i
can't to take out the Parent folder mail and set it as current
selected folder, no
remaining only to select the mailItem.

Any Ideas???


Tnx

On Feb 21, 4:45 pm, "j" wrote:
Thank you for quick replay,

I'm newbie in all this, and really understood u, could u please
provide me in more detail what required steps
to figure it out?

I'm using the Namespace.GetItemFromID method for finding mailItem from
EntryiD but i don't undertasnd ho can i display mailitem.

On Feb 21, 4:22 pm, "Sue Mosher [MVP-Outlook]"



wrote:
Outlook provides no method for programmatically selecting an individual item. You can, however, return the item with Namespace.GetItemFromID and then display it.


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"j" wrote in ooglegroups.com...
Hi,


How can select item (mail item) in folder, i know the entryID of item
that i want to select.


Any ideas???


Tnx in advance.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



Ads