R
Robert Squire
I have a public folder called "Public Items".
It's path is \\Public Folders\All Public Folders\Public Items\
I store everytype of outlook item in it an when they are stored I record
(among other properties) their entryId in a database. Later I want to be
able to retrieve an item from the folder using the entryId:
Application.Session.GetItemFromId(myId)
and then display it.
However I get an run-time error and each time I try it the error number is
different (very large negative numbers with a hex number in parenthesis).
I've searched msdn and done a fair amount of googling with now luck. I also
tried using the find method on the items collection of the folder but you
cannot use find with entryId as a parameter.
Any thoughts?
Thanks in advance.
It's path is \\Public Folders\All Public Folders\Public Items\
I store everytype of outlook item in it an when they are stored I record
(among other properties) their entryId in a database. Later I want to be
able to retrieve an item from the folder using the entryId:
Application.Session.GetItemFromId(myId)
and then display it.
However I get an run-time error and each time I try it the error number is
different (very large negative numbers with a hex number in parenthesis).
I've searched msdn and done a fair amount of googling with now luck. I also
tried using the find method on the items collection of the folder but you
cannot use find with entryId as a parameter.
Any thoughts?
Thanks in advance.