暴露VSTO功能VBA W / O型的本地管理员 [英] Expose VSTO functionality to VBA w/o local admin

查看:216
本文介绍了暴露VSTO功能VBA W / O型的本地管理员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是暴露的某些功能在DOTNET VSTO Excel插件,以VBA,而无需用户是本地管理员(即没有COM注册,的没有的HttpListener )?是否有可能使用微软消息队列从VBA?

What would be the best way to expose certain functionality in a Dotnet VSTO Excel add-in to VBA, without requiring the user to be a local administrator (i.e. no COM registration, no HttpListener)? Would it be possible to use Microsoft Message Queues from VBA?

推荐答案

如果我可以跨preT你的问题尽可能广泛地在.NET程序集怎样暴露的功能到Excel没有COM注册,那么一个优秀的解决方法是使用Excel的XLL接口。 基本上是部署一个XLL垫片和关联的.NET的DLL。当XLL加载它反映了该dll以及其中暴露的功能到Excel中。

If I may interpret your question as broadly as "How do I expose functionality in a .Net assembly to Excel without COM registration" then an excellent solution is to use Excel's XLL interface. Basically one deploys an xll shim and an associated .Net dll. When the xll is loaded it reflects over the dll and exposes the functions therein to Excel.

这是开源实现可以在这里 HTTP发现://exceldna.typepad。 COM /博客/ 2006/01 / introducing_exc.html

An open source implementation can be found here http://exceldna.typepad.com/blog/2006/01/introducing_exc.html

有一个商业的,封闭源代码,但更多的功能丰富的人在这里 http://www.managedxll.com/

A commercial, closed source, but more feature rich one here http://www.managedxll.com/

这篇关于暴露VSTO功能VBA W / O型的本地管理员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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