A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to Find a Item using VBScript in Outlook/Exchange



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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 ***
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I stop Outlook from trying to find an Exchange Server cheyenne Outlook - Installation 4 June 14th 06 07:37 AM
Beta 2 Outlook can't find exchange server Silver Surfer Outlook - Installation 6 June 1st 06 07:59 AM
Accessing email in an Exchange 5.5 mailbox via VBScript? [email protected] Outlook and VBA 1 May 24th 06 10:43 PM
How to find out which is the current item shown in the inspector? Michael Reukauff Add-ins for Outlook 1 January 25th 06 02:33 PM
How to find Appointment Item by EntryID? deko Outlook and VBA 2 January 23rd 06 07:15 PM


All times are GMT +1. The time now is 08:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.