在现有的ActiveX控件C#中添加方法 [英] Add methods in existing activeX control C#
本文介绍了在现有的ActiveX控件C#中添加方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在用c#创建的activeX控件中添加了一些方法.当我在vba项目中使用此控件时,这些方法不会出现.如何更新dll或程序集?
I have added some methods in an activeX control created in c#. When i use this control in vba project those methods does not appear. How can I update the dll or assembly?
推荐答案
构建新的ActiveX控件后,您需要注册新程序集
使用 regasm.exe 此处是文档 a> [ ^ ]
您可以在此处找到此过程的概述 [
After you build new ActiveX control you need to register the new assembly
using regasm.exe here is documentation[^]
You can find an overview of the process here[^].
这篇关于在现有的ActiveX控件C#中添加方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文