that last method 'https://www.vbforums.com/showthread.php?852227-Installing-the-VB6-IDE-on-Windows-10-64-bit' worked with a couple of minor tweaks...
I copied setup.exe, changed the name to 'setupPeter.exe', set it up for XP SP3 and Administrator.
I got a lot of the following before tweaking the setup.exe:
'visual studio 6.0 setup was not completed successfully'
or
'install Service pack 6'...which failed as it detected a newer version was loaded
or
'instal MSDN'
it finally worked. To get it loaded took two full days in the end.
Troubleshooting VB6 installation problems in these forums here is like when some relatives ask you to fix their printer -- never fun and always vexing devs to no end :-))
Yes, you might need to create an empty msjava.dll in System32, might have to uncheck ADO and cannot install offline MSDN. And always have to reboot before installing SP6 too.
Did you get SP6 successfully loaded (where, in Help/About you see the SP6)? If you had followed those instructions on Elroy's Thread, you should NOT have seen any of those issues you said you encountered. Some recommendations there are not absolutely necessary, but some are.
If you do not see SP6 in Help/About, it is not loaded.
Did you get SP6 successfully loaded
(where, in Help/About you see the SP6)? If you had followed those instructions on Elroy's Thread, you should NOT have seen any of those issues you said you encountered.
yes I found SP6 online and loaded it after the VB6 install.
I don't know why it wouldn't work first time, I just put it down to having the latest version of Win10 and needing some poking around to make it work.
I'm currently being annoyed by 'Source Safe', or something, every time I save something and that even shows up in VB5 now, so I need to find some way of killing that...more searching and poking around required there.
Source Safe was (is?, but discontinued) file 'save' system (I used this in early development along with a team of other developers, to 'check in' and 'check out' parts of the project). In your install, you probably (inadvertently) selected (or didn't unselect) that option. This link MIGHT provide the relief you need.
""'visual studio 6.0 setup was not completed successfully'""
Pulling hair out again. This is Windows 10 64 bit Pro on an industrial computer. Anytime I try installation, that is all I get. I know about the zero msjava.dll.
The install actually NEEDS to fail the first time, if you are doing the manual install. (Depending what method you are using to install it.)
I use this, to "fix" the incorrect RegEdit value that the installer sets-up... You MUST run this before installing, or VB6 will NEVER see anything that is actually installed. It will be looking in the wrong place. Windows changed the install path and VB6 installer uses a hard-coded install path and REGEDIT setup that NO LONGER WORKS.
Place this in a file named "RunFirstKEY.reg", then run it... Then restart your computer for the registry key to be "available".
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\6.0\Setup\Visual Studio 98\SetupWizard]
"aspo"=dword:00000000
Then, do the following...
- Make a 0-byte file named 'msjava.dll' in C:\Windows\ to avoid the installation of MS Java (It's outdated)
Then try installing VB6. It will fail at the end, but that HAS to happen.
You should NOT attempt to install...
- Microsoft Visual InterDev 6.0 (It's outdated. This will stop the javasign.dll error from appearing during install.)
- ADO and RDS (Ignore the warnings, it's NOT actually "essential".)
- MSDN library (It's outdated and truly useless anyways, always was)
- Visual Studio Analyzer (It's outdated. Disabling the Visual Studio Analyzer will stop the DCOM user account error.)
Run the reg thing again, and restart the VB6 install, but UNCHECK everything. (This should finish the last step doing the system-files where the REG failed.)
Restart windows again, so the components are "available" in the registry where VB6 set them up, and windows redirected them to "...\Wow6432Node\..."
Now VB6 should run fine. (I think I actually installed ADO and RDS, but I am unsure. It's there. May be already there from windows 10 itself. Not needing VB6 to install it anymore.)
If needed, NOW you can go back and try individual things that appear to NOT be installed, or things that may have failed to register. (Except Java and MSIE4 and VSS crap)
Optionally...
In the Compatibility tab, check the “Run this program in compatibility mode for:” box and click OK. The default option of Windows XP (Service Pack 2) should be fine but you can experiment with Windows Vista or 98/Me if you wish.
I use Windows 8 compatibility, but I get a few GUI graphical issues doing that. (Containers don't show outlines when moving them on forms. Not a big deal, I use SHIFT and CTRL + Arrows to move containers anyways.)
Last edited by ISAWHIM; Mar 19th, 2023 at 07:22 PM.