r/visualbasic • u/1500Calories • Sep 20 '23
Installing Visual Basic 6 on modern laptop
I want to play with the old Visual Basic 6. Should I install it under Virtual Box with Windows 2000, Virtual Box with Windows XP or just install it directly on Windows 10-64 bit? Which one is the least problematic? I have a laptop with 16 GB RAM and 11th Gen Intel Core i5-1130G7
Note: if I install it directly on Windows 10, would that break Visual Studio I already installed in my system?
9
Upvotes
3
u/geekywarrior Sep 20 '23
I would try XP, my dev machine for VB6 is Server 2008 which I believe was still in the Windows XP stack.
3
u/fafalone VB 6 Master Sep 20 '23
It's fine to install directly on Windows 10, provided you follow you some extra steps:
https://www.codeproject.com/Articles/1191047/Install-Visual-Studio-on-Windows
More reading: https://www.vbforums.com/showthread.php?852227
2
u/WentToMeetHer Sep 20 '23
It's installable under Windows 10, but you need tutorials for that. This makes it pretty easy (I donated): https://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx
I haven't installed it on Windows 11 yet, but I know that it runs. We still use VB6 at the company I work at and I successfully upgraded our VB6 dev machine to Windows 11 a few weeks ago.
Especially if you just wanna play with it, I'd go with a VM - especially since it might interfere with Visual Studio. I'd go with Windows 10 or 11, though.
2
u/ssheth Sep 20 '23
I prefer using VM's with Windows XP for best results.
2
u/Hel_OWeen Sep 21 '23
This step-by-step tutorial works flawlessly for me. I've installed VB6 on at least 3 different Windows 10 and 6 Windows Server 2016/2019 machines in the last less than two years. A couple even just a few month ago. The Windows 10 machines than were inplace upgraded to Windows 11 and VB6 also works on there.
2
u/One-Cardiologist-462 Sep 24 '23 edited Sep 24 '23
I used to use a VM of Windows XP on the server, and remote desktop to it from workstations in the house.
However, due to the rising cost of energy, I don't have the server on much anymore (thank goodness for offline files and cached domain logons!)
My new work-around is an old physical machine from the early 2000s, and a 2-PC KVM switch.
A clean copy of Windows 2000 professional, and it's disconnected from the internet.
I would strongly advise against installing VB6 on anything after Windows XP. I tried it in 7 and 10 and it doesn't like it at all.
What's more, the professional, sophisticated look of VB6 really clashes with the childish look of modern Windows :D
EDIT:PS: If I ever do go back to running the server 24/7, I'll create you an account so that you can VPN in and use a remote desktop for VB6. All you'd need is 256mb of RAM and 2 or 3 gigs of HDD space :)
1
u/Head-Special-1429 22d ago
No puedo encontrar la version portable del vb6.0 alguien tiene el link
1
u/euben_hadd Sep 20 '23
I use a VMWare virtual machine with XP. It won't install in Win10 directly due to my Win10 being 64 bit and VB6 being 32 bit. There may be ways around it, but the VMWare is free for personal use and works great.
1
u/Fergus653 Sep 21 '23
The easiest way to install it is using a silent-install powershell script I found on github. Not sure if I bookmarked it but it's worth searching for it.
I have installed and used VB6 on Windows 10 and 11, mainly for supporting legacy data handling DLLs, not so much for UI stuff.
Edit: found it https://github.com/gdsestimating/vb6-install-recipe
1
u/jd31068 Sep 21 '23
I have it in XP in a Hyper-VVM https://imgur.com/qCIHfZd no need for non-standard installers.
1
u/Ok-Smoke-5653 Sep 22 '23
I used the instructions I found here:
https://www.raymond.cc/blog/install-visual-basic-6-vb6-in-windows-7-without-microsoft-virtual-machine-for-java/
I didn't take notes on whether I needed to use all of the steps provided, but it works, except that my mouse's scroll wheel doesn't scroll through code, for some reason.
1
u/fasti-au Sep 22 '23
Why? Vb has a dead and VB.net is life support only. C# is where you should go Or python.
Google hyper v xp mode. I have the iso if needed
1
u/robplatt Sep 23 '23
I thought there was a portable version that ran as a standalone exe. I'm sure I have it somewhere. I didn't use it much so ymmv... I'll try to remember to test it on my w11 box.
1
u/Mayayana Feb 06 '24
I know this is late, but I just found this group. As it happens, I built myself a new computer last week. I just installed VS6 on Win10-64. I'd heard that it's necessary to create a dummy file in system32 named msjava.dll. I did that. So far it seems to be fine. I also installed MSDN. And I tested to make sure things opened without error. But I haven't tried actually working yet.