VSTO编程:要求输入密码以禁用加载项 [英] VSTO Programming : Ask for Password to disable Addin

查看:144
本文介绍了VSTO编程:要求输入密码以禁用加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我已经为Microsoft Word设计了一个加载项,它将禁用保存并另存为Button".
这里的问题是,如果有人禁用该插件的全部功能!谁能建议我如何禁止用户禁用加载项.有想法吗?

可能只有Admin应该有权禁用它..或以其他任何方式禁用保存/另存为/保存并发送"吗?


问候,
Prathamesh

Hello,
I have Designed an Addin for Microsoft Word, Which will disable Save & save as Button.
Problem here is if some one Disables the Addin its AllOver! Can any one suggest me how to Disallow user to Disable Addin. Any Idea?

Might be only Admin should hae right to Disable it.. or any other ways to Disable Save/Save As/Save & Send?


Regards,
Prathamesh

推荐答案

不确定,但是请参阅
Not sure, but have a look at the Verifyaddinpermissions[^] to see if it helps.


禁止禁用插件是一个非常糟糕的主意.如果曾经使用过这种令人讨厌的东西,我会简单地将其删除,而不再信任公司/作者.别太吵.

—SA
It''s a very bad idea to disallow disabling a plug-in. If ever used such obtrusive thing I would simply removed it and never trusted the company/author again. Don''t be obtrusive.

—SA


这篇关于VSTO编程:要求输入密码以禁用加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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