Export of items

S

semut

Hello,

I would like export some items (appointment, contact, task or anything).
And then reimport back to another PC. Will the entry ID of the item export
be the same in the new PC after import into it. If it wasn't, anyway to make
it to be the same.


thanks.
 
M

Michael Bauer

Semut, a simple test would give you the answer.

dim oMsg1 as MailITem
dim oMsg2 as MailItem

Set oMsg1=Application.ActiveExplorer.Selection(1)
oMsg1.SaveAs "c:\test.msg"
Set oMsg2=Application.CreateItemFromTemplate("c:\test.msg")
oMsg2.Save
debug.print oMsg1.EntryID=oMsg2.EntryID

The EntryID is read-only.
 
S

Sue Mosher [MVP-Outlook]

To add to what Michael said, importing creates a new item. Therefore, it will have a different EntryID.
 

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