OLE容器用于.NET [英] OLE Container for .NET

查看:587
本文介绍了OLE容器用于.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,需要我来加载OLE对象,并使其在.NET应用程序的WinForm(C#)的项目。不像VB6 .NE​​T没有内置的OLE容器中,推荐的方法是使用支持显示的ActiveX内容WebBrowser控件。我的问题是有问题没有可用的ActiveX控件中的OLE对象的提供者。

I'm working on a project that requires me to load an OLE object and render it in a .NET WinForm app (C#). Unlike VB6 .NET has no built in OLE container, and the recommended approach is to use the WebBrowser control which supports displaying ActiveX content. The issue I have is the provider of the OLE object in question does not have an ActiveX control available.

简单地说,有没有办法来加载OLE对象拖到一个WinForm ?或将我需要编写一个加载OLE对象ActiveX控件?如果是后者,没有任何人有这样的一个例子,或推荐的阅读材料?

Simply put is there any way to load an OLE object onto a WinForm? Or will I need to write an ActiveX control that loads the OLE Object? If the latter, does anyone have an example of this, or recommended reading material?

欢呼声中,

马克

推荐答案

您可以使用我的控制
OLE容器替代为.NET

这篇关于OLE容器用于.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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