This is normal and expected behavior. Even after it is removed from a session, a .pst file remains locked until the current Outlook session is completely terminated. You might want to rethink your application's use of .pst files.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Reda G" wrote in message ...
Hello,
I am new in Office programming. Sorry if I will repeat with my question, but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst file
will publish on server (Not Exchange server). But after i publish *.pst file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?
Thank you so much
Reda
PS. I don't like any commercial 3rd parties tools.