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?
Thanks
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.
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.
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.
If your app only has an Exe (and not any class libraries (ie activex dlls etc)) then you just need the VB6 runtime (rather than the VB6 studio) rolled out to the client machines.
If you have DLLs in the app they need to be registered, so you're probably looking at least at doing a simple MSI installer.
The VB6 runtime is available here: http://www.microsoft.com/download/en/details.aspx?id=24417
Its very difficult to get away with less than this - essentially your exe would have to self install - set the runtime up and do any registrations that are required.
You can run a vb6 app without installing the runtime usually by just including msvbvm60.dll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With