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:
http://groups-beta.google.com/group...="0x6859"+aging&rnum=1&hl=en#a07894c1baf4f9f0
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.