View Single Post
  #1  
Old August 3rd 06, 11:42 PM posted to microsoft.public.outlook.program_forms
Andrew Sampels
external usenet poster
 
Posts: 5
Default How to Find a Item using VBScript in Outlook/Exchange



I'm use to doing this via VB and CDO but I can't seem to find a simple
way in VBScript from a form itself. I have a EntryID for an Item and
wish to find the corresponding Item. I have setup my collection down to
the item level and can use a loop to find and setup the item but it's
slow. On the VB side you can use the
GetMessage(ID,ParentFolderSessionID) command from the Connection to go
directly to an Item. Is there an equivalent in the Form design mode
using VBScript?

When I use the Folder.Find() command it tells me that the EntryID is not
Valid Along with just ID like I can use via CDO. Is it possibly labeled
something different?

Any help would be appreciated.


*** Sent via Developersdex http://www.developersdex.com ***
Ads