在VB .net 2010中创建ActiveX控件(OCX) [英] Creating ActiveX control(OCX) in VB .net 2010

查看:767
本文介绍了在VB .net 2010中创建ActiveX控件(OCX)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在VB中创建一个activeX控件(OCX).net 2010是可能的吗?
我很难确定如何使它,因为我只得到一个.dll文件,而不是.cx可以在vb6中看到。我希望你可以回答我的问题。

I would like to create an activeX control(OCX) in VB .net 2010 is it possible? I having a hard time determining how to make it because I only get a .dll file rather than a .ocx which can be seen in vb6. I hope you can answer my question.

推荐答案

你是否问如何专门创建一个ActiveX控件?创建可以由其他基于CLR的应用程序使用的控件?

Are you asking how to create an "ActiveX" control specifically or are you asking how to create controls that can be used by other CLR based applications?

要创建ActiveX控件,请参阅此链接,指导您执行以下步骤:创建MFC ActiveX控件

To create an ActiveX control, see this link which walks you through the steps to do this: Creating an MFC ActiveX Control

要创建标准控件,您可以使用dll(类库),并可根据需要添加任意数量的控件。您不需要每个控件的dll,尽管可以。

To create standard controls, you use a dll (class library) and can add as many controls to it as you like. You don't need a dll for each control, although you can.

这篇关于在VB .net 2010中创建ActiveX控件(OCX)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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