vb.net中的vb6 dll用法 [英] vb6 dll usage in vb.net

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

问题描述

如果在Windows 7计算机上的vb.net中使用了自定义的vb6 dll,您是否必须在运行该应用程序的每台PC上注册它?

解决方案

由于VB6只能针对基于COM的.DLL,因此,您必须注册它在机器上被使用.

如果您使用REAL安装构建应用程序(例如InstallShield,InnoSetup,Advanced Installer,WiX等)为应用程序(Windows Installer类型)构建REAL安装程序,则会自动为您注册组件.

if a custom vb6 dll is used in vb.net on a windows 7 machine, do you have to register it on each pc which the application runs on? How do I include it in the distributed build?

解决方案

Since VB6 could only target building COM-based .DLL''s, yes, you do have to register it on the machine it''s being used on.

If you build a REAL installer for your application (Windows Installer type), using a REAL installation build application (like InstallShield, InnoSetup, Advanced Installer, WiX, ...), registering the component is done for you automatically.


这篇关于vb.net中的vb6 dll用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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