.net 調用outlook將msg另存爲txt

主要是權限問題

在組件服務裏管理outlook增加權限後需要在註冊表中增加權限

來源:
http://kb.funcshun.com/microsoft-outlook-2010-saving-file-error-cannot-create-file-filename-right-click-the-folder-you-want-to-create-the-file-in-and-then-click-properties-on-the-shortcut-menu-to-check-your-permiss/


Microsoft Outlook 2010 error “Cannot create file: “filename”. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder” when trying to right click and save-as.


Capture


1.  Close Outlook 2010


2.  Click on Start


3.  Click on Computer


4.  Click on C:\ drive


5.  Create new folder on the root, lable “temp1”


6.  Click on Start, click Run, type regedit, and then click OK.


7.  Locate and then click the following registry key:  HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security\


8.  It’s good practice to do a backup of any registry keys you modify.  In this case lets right-click the folder Security and click Export, then save as desired.


8.  In the right pane, double-click" OutlookSecureTempFolder "or right-click and click Modify.


9.  In the Value Data field, type the path of the folder you created if different than the above "C:\temp1"


10.  Exit Registry Editor


11.  Restart the computer.


12.  Once computer is back on, open Outlook and attempt to save any attachment.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章