开发者

Add a new Trusted Location for word 2010 using VB.Net

Hi,

Is it possible to add a new Trusted Location for word 2010 using VB.Net?

I want to do the sam开发者_开发问答e steps in the below link via code, is that possible ?

http://www.doztech.net/microsoft-office/how-to-add-trusted-locations-in-office-2010/

Thanks,


didnt try this myself but try to write the following registry entry :

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Security\Trusted Locations\Location0]
AllowSubFolders (REG_DWORD) = 1
Path (REG_SZ) "**The Path for Your Folder**"


Trusted location is in the HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Security registery key

so you can add with code here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜