Thread: Archive file
View Single Post
  #4  
Old April 25th 06, 03:49 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Archive file

A very sneaky method is to parse out the PST file path from the StoreID
property.

If you look at Item.Parent.StoreID or Folder.StoreID, using a tool such as
OutlookSpy or MFCMAPI it's a binary array. If you view it as text you will
see the file path and name of the PST file embedded in that StoreID.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Tony WONG" wrote in message
...
Thank you for your clarification.

i also think so.

The difficulties to me is that different workstations save pst file at
different places.

anyway, thanks a lot.


Ads