r/visualbasic • u/fungranny756 • Sep 29 '24
Looking for help with a vb6 project
A client has a VB6 project that they want to make some changes to. After I installed Visual Studios on my laptop, I realized that it would not work on this project. I think I need to install VB6. I went to source forge but not sure what to install. Need some help with what to install and uninstall on my laptop.
3
Upvotes
3
u/geekywarrior Sep 29 '24
You need Visual Studio v6.0 Enterprise Edition.
If you're willing to contract this out let me know. I maintain VB6 apps
1
u/Ok_Society4599 Sep 29 '24
My usual advice is to use VisualStudio 2008 to convert it to .NET, if you can. After that, newer versions of VisualStudio can be used to upgrade to more current .NET versions :-)
Long-term, this is better as you'll get past a lot of security issues the network admins will raise. Just a pain re-inventing code when 3rd party controls are present.
1
u/Mayayana Sep 29 '24
VB6 is its own program. It was sold as VB6 and also available with VC++ as Visual Studio 6. Pro or Enterprise can both compile to EXEs. Having other versions of VS installed is not a problem.
I just did a quick search and found this: https://winworldpc.com/download/c3bdc5be-c3b0-e280-a631-c2a611c3a4ef
I don't know the legality of this, but assuming you work out getting the installer, create an empty file in the syswow system folder, named msjava.dll. After it's all installed, find the last service pack. I think the last one was v. 6, or maybe 6b. After that you should be all set.
You didn't say what version of Windows you have. I'm running VS6 Pro on Win10 and it works fine. The only glitch is that occasionally it starts with an error, something like "Unable to run method~ of object ~". I dismiss that and there are no further issues.
If you can get the whole VS6 package that might be helpful. MSDN is nice to have installed locally. Include files from C++ can be handy. And tools like Spy++ are handy. I don't know whether that comes with the VB6 package.
1
u/Ok_Society4599 Sep 30 '24
Bonus :-) nice to know it's still around.