![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#4
|
|||
|
|||
![]() Please return to the help: There's a list on that page with invalid properties. ConversationIndex is not allowed. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize Outlook email: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Thu, 21 Jun 2007 05:03:00 -0700 schrieb bstrum: I found the help page with shows "ConversationIndex" as a valid filter. When I use it though, I get the exception "The property "ConversationIndex" in the condition is not valid." Any ideas why? My code looks like this: string idx = "....."; IOUT.Application app = (IOUT.Application)oApp; IOUT.MAPIFolder f = app.Session.GetDefaultFolder(IOUT.OlDefaultFolders .olFolderInbox); string filter = string.Format("[ConversationIndex] = '{0}'", idx); object o = f.Items.Restrict(filter); "Michael Bauer [MVP - Outlook]" wrote: The VBA help provides you with a sample. The easiest way is to select the Find function in the object browser (f2) and then click f1. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize Outlook email: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 20 Jun 2007 16:41:56 -0700 schrieb bstrum: Given a conversationindex and conversationtopic, how do I find a mailitem? I have looked at Session.GetDefaultFolder(...).Items.Find but I do not see any examples of how to construct the search string with these parameters. Thank you, Benjamin Strum ThinkTron Corporation |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Move MailItem | John Tripp | Outlook and VBA | 2 | June 22nd 07 06:07 AM |
Delete MailItem | j | Add-ins for Outlook | 5 | January 25th 07 07:47 PM |
MailItem flags | Gary E. | Outlook and VBA | 8 | January 18th 07 01:11 AM |
How to Add a MailItem to a Folder | Ron | Outlook and VBA | 2 | January 10th 07 09:53 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 05:14 PM |