Create CSharp user control for VB6
来源:互联网 发布:plc电动机正反转编程 编辑:程序博客网 时间:2024/06/06 02:31
- Install Microsoft Interop Forms Toolkit 2.0 which you can download from http://www.microsoft.com/downloads/details.aspx?FamilyId=934DE3C5-DC85-4065-9327-96801E57B81D&displaylang=en#filelist
- Create a VB6 Interop UserControl project (InteropUserControlLibrary) in VS2005 or VS2008. This project could be selected only after installing the Microsoft Interop Forms toolkit.
In this project, there is 1 file (InteropUserControl.vb) which you could add any windows control or controls built in csharp.
- Build the project and add the component in VB6 by Project->Components. Then you could drag the user control anywhere in VB6.
Install Interop Forms Toolkit 2.0
Installing the toolkit is fairly straightforward. Navigate to the Toolkit Download Site and, of the three downloads available, run the InteropFormsInstaller.msi file. In most cases, this is all you need to do. When you open the Visual Studio .NET IDE, you should find the new templates, VB6 Interop UserControl and VB6 Interop Form Library, available when you create a new VB.NET project. Under your Tools menu, you should also find a new wizard labeled "Generate InteropForm Wrapper Classes".
If the new wizard does not appear in your Tools menu, there may have been a problem installing it. Check Tools | Add-in Manager to make sure that this wizard is selected. If it is present and selected in the Add-in Manager, but still does not appear in your Tools menu, you can run the following command in your command line to reset it: Devenv /resetaddin Microsoft.InteropFormTools.InteropFormProxyGenerator.Connect.
- Create CSharp user control for VB6
- Create a ActiveX user control (VB.NET2005)
- navcat for oracle create namespace user
- Simpler way to Create a Custom User Control
- Csharp: TreeView Control
- Csharp: TreeView Control
- User Manual for Emotiv Xavier Control Panel中文版
- Create a shortcut for a program at user Desktop
- Cannot create PoolableConnectionFactory Access denied for user 'root'@'localhost'
- SQL Server 2008 User Account Create (For Frank's website)
- ERROR 1396 (HY000): Operation CREATE USER failed for 'root'@'localhost'
- Mysql错误:1396 (HY000): Operation CREATE USER failed for 'XXX'
- Create a SQL Server Database and User for vCenter Server
- however file don't exists. Create writable for user 'mysql'.
- ERROR 1396 (HY000): Operation CREATE USER failed for 'sonar'@'%'
- csharp create ICS file extension
- csharp create ICS file extension
- Csharp iTextSharp create pdf file
- joj 1509Hamiltonian Cycle (dfs求H回路)
- 封装的ADO.NET对数据库操作经典类 代码
- 修改标准程序的文本
- 云计算到底是什么
- 博士毕业的去向
- Create CSharp user control for VB6
- 通用的双向链表,算是对前两种总结的过程,还不成熟请指教
- How to Create a Provisioning Profile for iPhone
- android 权限大全
- 个人博客
- php使用DOM处理xml文档
- dp、sp和px的区别
- oracle创建表的语法
- 聚集索引和非聚集索引