Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   PST file format (http://www.outlookbanter.com/outlook-vba/40748-pst-file-format.html)

Rick E February 13th 07 09:29 PM

PST file format
 
I need to be able to programmatically write over the information store name
(i.e. Personal Folders, Archive Folders, etc.) written (I believe) inside the
PST file? Does anyone know the byte offset for this info? Its not stored in
ASCII viewable format in the PST file as I've searched for it.

Dmitry Streblechenko February 13th 07 09:59 PM

PST file format
 
Do you mean you are trying to rename a PST store?
PST filee format is not documented. On the MAPI level, all you need to do is
modify the PR_DISPLAY_NAME property of the corresponding IMsgStore object.

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

"Rick E" wrote in message
...
I need to be able to programmatically write over the information store name
(i.e. Personal Folders, Archive Folders, etc.) written (I believe) inside
the
PST file? Does anyone know the byte offset for this info? Its not stored
in
ASCII viewable format in the PST file as I've searched for it.




Rick E February 13th 07 10:13 PM

PST file format
 
I guess I'm not up on the exact termonology but its the name that is
displayed in the View/Folder List pane or can be set under the Properties of
the PST, Advanced button.

Can I reference the MAPI libraries without Outlook installed? I ask because
this would be done on a server where we would not want to install Outlook.

"Dmitry Streblechenko" wrote:

Do you mean you are trying to rename a PST store?
PST filee format is not documented. On the MAPI level, all you need to do is
modify the PR_DISPLAY_NAME property of the corresponding IMsgStore object.

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

"Rick E" wrote in message
...
I need to be able to programmatically write over the information store name
(i.e. Personal Folders, Archive Folders, etc.) written (I believe) inside
the
PST file? Does anyone know the byte offset for this info? Its not stored
in
ASCII viewable format in the PST file as I've searched for it.





Dan Mitchell February 13th 07 11:37 PM

PST file format
 
=?Utf-8?B?UmljayBF?= wrote in
:
Can I reference the MAPI libraries without Outlook installed? I ask
because this would be done on a server where we would not want to
install Outlook.


Yup:

http://www.microsoft.com/downloads/d...f31-079a-43a9-
bff2-0a110307611e&DisplayLang=en

is a standalone install of ExMAPI.

-- dan

Dan Mitchell February 13th 07 11:43 PM

PST file format
 
=?Utf-8?B?UmljayBF?= wrote in
:
I need to be able to programmatically write over the information store
name (i.e. Personal Folders, Archive Folders, etc.) written (I
believe) inside the PST file? Does anyone know the byte offset for
this info? Its not stored in ASCII viewable format in the PST file as
I've searched for it.


I've not tried this myself, but it might be what you want:

http://alioth.debian.org/projects/libpst/

-- dan


Rick E February 14th 07 02:41 PM

PST file format
 
Super, I'll take a look at this. Thanks for the help.

"Dan Mitchell" wrote:

=?Utf-8?B?UmljayBF?= wrote in
:
Can I reference the MAPI libraries without Outlook installed? I ask
because this would be done on a server where we would not want to
install Outlook.


Yup:

http://www.microsoft.com/downloads/d...f31-079a-43a9-
bff2-0a110307611e&DisplayLang=en

is a standalone install of ExMAPI.

-- dan



All times are GMT +1. The time now is 07:04 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com