社区
C#
帖子详情
can't create component 'AxHost'
Tiger-3D
2013-03-05 01:41:21
C#调用OCX控件,之前调用正常。现在OCX又增加了几个接口,于是在窗体上删除原来的控件,重新从Toolbox中拖一个该控件,但是却出现“can't create component 'AxHost'”这种问题?
请问这是为什么,该怎么办?
系统及编译器:win7 + vs2008
...全文
64
3
打赏
收藏
can't create component 'AxHost'
C#调用OCX控件,之前调用正常。现在OCX又增加了几个接口,于是在窗体上删除原来的控件,重新从Toolbox中拖一个该控件,但是却出现“can't create component 'AxHost'”这种问题? 请问这是为什么,该怎么办? 系统及编译器:win7 + vs2008
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
threenewbee
2013-03-05
打赏
举报
回复
每次修改ocx,应该保持接口兼容。
gxingmin
2013-03-05
打赏
举报
回复
修改后的ocx你确保能正常创建吗?
Tiger-3D
2013-03-05
打赏
举报
回复
解决了! 之前按网上说的,删除窗体上原来的ocx控件之后,还要从工程的Reference中删除对应的两个***OCXLib。但是我删了还不行。 于是我到这两个文件所在的文件目录下,删除了对应的文件,再添加就可以了。 happy!
微服务系列第七十一季-Spring入门
1-Why Spring 2-What can Spring do 3、What You Will Build 4、What You Need 5、How to complete this guide 6、Starting with Spring Initialize 7、
Create
a Resource Representation Class 8、
Create
a ...
Component
-Based Development with Visual C#
转:http://www.codeproject.com/books/0764549146_8.asp Author ...
The Essentials for Using COM in Managed Code
This Chapter Referencing a COM
Component
in Visual Studio .NET Referencing a COM
Component
Using Only the .NET Framework SDK Example: A Spoken Hello, World Using the Microsoft Speech API ...
Importing and Extending ActiveX Controls in .NET
转:http://www.codeproject.com/csharp/importactivex.asp Download source files - 62.4 Kb Introduction We often need to reuse and extend an ActiveX control developed by other vendors in real ....
ExtendedWebBrowser .NET 2.0 WebBrowser Control
Extended .NET 2.0 WebBrowser Control ByJeroen Landheer,29 Mar 2006 4.92(101 votes) Download demo project - 83.5 Kb Download sou...
C#
110,545
社区成员
642,580
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章