Problem getting new EntryID after Item.Move

A

AndyK

h

When I read the EntryID of my Item from VB code immediately after doing Item.Move, the EntryID returned is the same as the one prior to the Move. Yet when I close down the app and query the EntryID from Outlook (Spy) the EntryID is different - anyone help me with what is happening here please

thank

andy
 
D

Dmitry Streblechenko \(MVP\)

How do you call Move()? Remember that it is a function returning a new
message, not a sub:
set NewItem = OldItem.Move(SomeFolder)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


AndyK said:
hi

When I read the EntryID of my Item from VB code immediately after doing
Item.Move, the EntryID returned is the same as the one prior to the Move.
Yet when I close down the app and query the EntryID from Outlook (Spy) the
EntryID is different - anyone help me with what is happening here please?
 
A

AndyK

Got it

thank

----- Dmitry Streblechenko (MVP) wrote: ----

How do you call Move()? Remember that it is a function returning a ne
message, not a sub
set NewItem = OldItem.Move(SomeFolder

Dmitry Streblechenko (MVP
http://www.dimastr.com
OutlookSpy - Outlook, CD
and MAPI Developer Too


AndyK said:
Item.Move, the EntryID returned is the same as the one prior to the Move
Yet when I close down the app and query the EntryID from Outlook (Spy) th
EntryID is different - anyone help me with what is happening here please
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top