在outlook运行时将outlook.pst文件复制到另一个文件夹 [英] Copy outlook.pst file to another folder while outlook is running

查看:426
本文介绍了在outlook运行时将outlook.pst文件复制到另一个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



我正在为Outlook 2007创建Outlook插件。我需要复制outlook.pst文件并保存到另一个位置。这个应该在前景运行时发生。但是我无法做到。



我收到以下错误该进程已被另一个进程锁定请帮帮我。有没有选择呢?



提前致谢..



binta

Hi..

I am creating an outlook addin for Outlook 2007.In that i need to copy the outlook.pst file and save to another location.This should happen while the outlook is running.But i'm not able to do it.

I'm getting the following error "The process has been locked by another process" Please help me.Is there any option to do this?

Thanks in advance..

binta

推荐答案

阅读以下内容: http://social.microsoft.com/Forums/en/synctoy/thread/cf450935-9771-4435-b8a3-86f4701dc4c8 [ ^ ]
Read the following : http://social.microsoft.com/Forums/en/synctoy/thread/cf450935-9771-4435-b8a3-86f4701dc4c8[^]


打开文件以便将文件流 FileShare 设置为读取|写入和删除,以允许完全交流cess到并发访问,你应该能够读取文件。

如果在复制时outlook更新文件,则副本将被破坏。
Opening the file for read with the filestream FileShare set to read|write and delete, to allow full access to concurrent accesses, you should be able to read the file.
If outlook updates file while you're copying it the copy will be corrupted.


这篇关于在outlook运行时将outlook.pst文件复制到另一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆