No, whoever opens a PST file is the owner of that PST file. You can't make a
folder in it read-only.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
> Hi,
>
[quoted text clipped - 6 lines]
>
> Atul Sureka
AtulSureka - 20 Apr 2009 15:37 GMT
Thanks for your response, - Basically I have the outlook addin which mounts a
PST file. That PST file is having some messages. However I do not want user
to delete the messages. PST is opened in Addin context, Addin should not
allow the user to delete the messages from PST.
Atul
Atul
> No, whoever opens a PST file is the owner of that PST file. You can't make a
> folder in it read-only.
[quoted text clipped - 9 lines]
> >
> > Atul Sureka
Ken Slovak - [MVP - Outlook] - 20 Apr 2009 19:13 GMT
Unless this is Outlook 2007 you cannot do what you want. For Outlook 2007
you can use the BeforeItemMove() event to cancel any deletions (the
targetFolder argument will be null in cases where the item is deleted).
Otherwise come up with something else.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
> Thanks for your response, - Basically I have the outlook addin which
> mounts a
[quoted text clipped - 6 lines]
>
> Atul