在未安装VB6的情况下运行VB6应用程序 [英] Running VB6 applications without having installed VB6

查看:144
本文介绍了在未安装VB6的情况下运行VB6应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是,如果我想运行VB6应用程序,则必须在客户端计算机上安装VB6.其实我有VB6的版本,无法制作安装文件.因此,我只是手动链接到exe文件.
有什么我不需要安装VB6的方法,只需复制几个文件即可运行该应用程序?

My problem is I have to install VB6 on client's computers if I want to run my VB6 applications. Actually the version of VB6 I have, can not make setup file. So I just make a link to the exe file manually.
Is there any way that I donot have to install VB6, could just copy a few files and the application could run?

谢谢

推荐答案

为了运行VB 6应用程序(即使编译为EXE时),客户端也必须在其计算机上安装VB 6运行时.您可以在此处下载最新版本并手动安装以进行测试,但是不要请尝试推出这样的应用程序.

In order to run VB 6 applications (even when compiled to an EXE), your clients will have to have the VB 6 runtime installed on their machines. You can download the latest version here and install it manually for testing purposes, but don't try and roll out an application like that.

如果您的VB 6版本没有安装和部署向导(我认为它们都包含?),那么您应该考虑使用第三方工具创建自己的安装程序包.

If your version of VB 6 didn't come with the Setup and Deployment Wizard (I thought they all did?), then you should look into creating your own installer package using third-party tools.

我强烈推荐 Inno Setup ,它完全免费,并且非常适合VB 6应用程序.我本人已经使用过很多次了.该网站甚至提供了有关为VB 6应用程序创建安装程序的特定说明.它会创建一个包含您的安装程序的EXE,只需双击它就可以了!

I highly recommend Inno Setup, which is completely free and works great for VB 6 applications. I've used it many times myself. The website even provides specific instructions for creating an installer for a VB 6 application. It creates a single EXE that contains your installer--just double-click it and go!

但是还有许多其他选项可以创建您自己的安装程序.重要的是,您一定要创建一个安装程序来自动执行支持文件的安装过程.试图将一些文件丢到这里和那里的系统文件夹中,这是一个糟糕的主意,非常容易出错,并导致来自客户的大量支持电话.

But there are many other options to create your own installer. The important thing is that you definitely want to create an installer to automate the process of installing the support files. Trying to toss a few files into the system folders here and there yourself is a terrible idea, very prone to error and resulting in a lot of support calls from your customers.

这篇关于在未安装VB6的情况下运行VB6应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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