任何通知用户更新 powerpoint 加载项的简单方法
有没有办法通知用户有新版本的插件可用?
这当然可以通过编写一些自定义代码来 ping web 服务、查找状态并基于显示消息来完成,但我想知道是否有可以使用和实现的预定义方式/模板。
如果您分享示例代码,我喜欢 C#。
is there a way to notify user about a new version of plugin available?
This can be certainly done by writing some custom code to ping webservice, finding status and based on that displaying message, but then i am wondering if there is a predefined way/template available which can be used and achieved.
If you are sharing sample code, I like C#.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为无需编写自己的自定义代码即可实现此目的的最佳方法之一是使用 ClickOnce (或 ClickOnce 替代方案)-“ClickOnce 应用程序可以自我更新;它们可以在更新版本可用时检查它们,并自动替换任何更新的文件。”
ClickOnce 可以并且经常与 Office 插件结合使用 - 例如,请参阅 http://robindotnet.wordpress.com/2010/07/11/how-do-i-programmatically-find-the- Deployed-files-for-a-vsto-add-in/
另外,关于 Click-Once 的开源选项的另一个问题可能是个好主意 - clickonce - clickonce 的一个好的开源替代品是什么? (DDay.更新)?
I think one of the best ways to achieve this without writing your own custom code is to use ClickOnce (or a ClickOnce alternative) - "ClickOnce applications can be self-updating; they can check for newer versions as they become available and automatically replace any updated files."
ClickOnce can be and is often used in conjunction with Office addins - for example, see http://robindotnet.wordpress.com/2010/07/11/how-do-i-programmatically-find-the-deployed-files-for-a-vsto-add-in/
Also, another question regarding open-source options to Click-Once might be a good idea - clickonce - what is a good open source alternative to clickonce? (DDay.Update)?