实施AxHost [英] Implement AxHost

查看:87
本文介绍了实施AxHost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在为WindowsCE 6.0和CompactFramework 2.0开发一个项目.
我已经实现了EpsonDLL,但VB.NET 2005返回此错误:

Hi,
I''m developing a project for WindowsCE 6.0 whith CompactFramework 2.0.
I''ve implemented an EpsonDLL but VB.NET 2005 returns this error:

"Missing assembly reference: System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" contenente la classe base ;System.Windows.Forms.AxHost". Aggiungerne uno al progetto."



我找到了一个HostingLibrary.dll,它使我可以在项目中查看AxHost类,但是我想在System.Windows.Form上使用该类.我该怎么办?



对不起,我的英语不好
编辑:我竭尽全力翻译"您的帖子,但是我不确定最后一段.请确认这是您的意思.谢谢!



I found a HostingLibrary.dll that allows me to see the class AxHost in my project, but I want to use this class on a System.Windows.Form. How can I do this?



Sorry for my terrible english
Edit: I tried my best at "translating" your post, but I''m not sure about the last paragraph. Please verify that this is what you meant . Thanks!

推荐答案

这是一个有用的链接:
在.NET Compact Framework 2.0中托管ActiveX控件 [
This is a useful link:
Hosting ActiveX Controls in the .NET Compact Framework 2.0[^]

Regards
Espen Harlinn


这篇关于实施AxHost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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