outlook - How to delete pst file after deleting store using c# -
i m removing store , delete .pst file associated it. developing vsto addin, in once user logout delete .pst file created it. again when user login, create new store , new .pst file associated it.
pst provider keeps pst file open 30 minutes (or until process terminates) performance , sharing purposes after removed profile.
you might want play registry key mentioned in http://support.microsoft.com/default.aspx?kbid=222328 make sure file closed sooner.
if temporary pst file end user not need see, can create auxiliary exe processes pst. after process exits, pst file can deleted. note need use extended mapi (c++ or delphi only) or redemption (any language, use rdosession.logonpststore
) outlook object model calls still marshalled outlook.exe address space addin running.
Comments
Post a Comment