View Single Post
  #1  
Old May 25th 06, 08:09 PM posted to microsoft.public.outlook.program_vba
Paddy
external usenet poster
 
Posts: 5
Default Getting a folder give a path

Hello,

I am asking the folder path from the user as input in my progam via a
config file. So the user enters something like "\\Mailbox -
User\Inbox\TestMessageFolder". I then take this folder and
analyse/filter the messages in "TestMessageFolder"

I am stuck trying to access the folder via the obvious API in .NET. I
tried
1. GetDefaultFolder - (Obviously) fails because the user entered
folder, "TestMessageFolder", may not be default.
2. GetFolderFromID - Very confusing as the first parameter
entryIDFolder can be passed as a string i.e.
"\\Mailbox\Inbox\TestmessageFolder" but how can I get the second
parameter ,entryIDStore.

Thanks for any help that you can offer.

- K.

Ads