An issue about GetItemFromID function

  • Thread starter Thread starter Di
  • Start date Start date
D

Di

I'm doing some development on OUTLOOK XP.

I used following code to get a Message Item:

Set MyItem = MyNameSpace.GetItemFromID(myEntryID,
myStoreID) which myEntryID and myStoreID come from other
place.

I always got error saying can't find the item. But if I
replaced myEntryID and myStoreID with the value they
represented
(000000005A3321780F809A44A54846E760D5FF1D64D637 and
000000000038A1BB1005E5101AA1BB08002B2A56C200006D737073742E
646C6C00000000004E495441F9BFB80100AA0037D96E000000433A5C44
6F63756D656E747320616E642053657474696E67735C6469795C4C6F63
616C2053657474696E67735C4170706C69636174696F6E20446174615C
4D6963726F736F66745C4F75746C6F6F6B5C6469792E70737400000000
0038A1BB1005E5101AA1BB08002B2A56C200006D737073742E646C6C00
000000004E495441F9BFB80100AA0037D96E000000433A5C446F63756D
656E747320616E642053657474696E67735C6469795C4C6F63616C2053
657474696E67735C4170706C69636174696F6E20446174615C4D696372
6F736F66745C4F75746C6F6F6B5C6469792E70737400)
, it worked just fine.

I'm confused. Why variable didn't work?

Anyone can help me?
 
Are those variables strings? They have to be. I've never had a problem
using string variables as EntryID and StoreID in any of my code.
 
Back
Top