Okay, I see the problem now too. Indeed, even changes to the path in the UI
are not read by the code, even after a reboot. Same goes with changing the
path with the code - it is never reflected in the UI after a reboot. Indeed,
days have gone by and the path I've set in the code is never shown in the UI,
but the code STILL shows the value I've set in the code.
I thought this might be an issue with Cached mode, but this is really
irrelevant with .pst files, and it occurs with this off or on.
I'm stumped. I was! After I wrote that, I dug around some more. This
same
issues was discussed in April:
Basically, Outlook 2003 stores this setting in a new MAPI property. Set a
MAPI.Field object reference using this constant:
Const CdoPR_AGING_PATH_V2 = &H6859001E '0x6859001E
Now you should be able to read and write it properly. Note the changes to
the other properties as per that thread.
--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/ckytm
Job:
http://www.imaginets.com
Blog:
http://blogs.officezealot.com/legault/