Forum Discussion
ManuelCota
Dec 09, 2020Copper Contributor
Compatibility with VB6 and Windows 10 Pro 20H2
Hello, VB6 is supported, according to https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/visual-basic-6-support-policy However, for some reason beyond ...
Reza_Ameri-Archived
Dec 10, 2020Bronze Contributor
Try run it in compatibility mode, take a look at Make older apps or programs compatible with Windows 10 (microsoft.com)
ManuelCota
Jan 12, 2021Copper Contributor
Reza_Ameri-Archived Thanks for your suggestion. I did what you suggest:
* It works on Windows 1903 but,
* It DOES NOT WORK in Windows 20H2
Funniest thing is that, if I install it in Windows 1903 and then upgrade to 20H2, everything works.
- amreaganNov 02, 2021Copper Contributor
ManuelCota - Microsoft has stated that some components of VB6 are no longer supported and it's up to the software publisher to distribute the necessary files with the application. Unfortunately, some of the files covered by this support statement were never distributed by the publishers because they were present in Windows after vb6 was installed. I have actually had the vendor in my particular case say the solution is to start with an older version of 10, like 1903, and in place upgrade it to get the application to work. The required files are mostly the .ocx files in c:\windows\SYSWOW64. You can copy these files from an older machine, then use the 32-bit version of regsrv32 to register the OCX files with something like: C:\windows\syswow64> forfiles /m *.ocx /c "c:\windows\syswow64\cmd.exe /c C:\Windows\SysWOW64\regsvr32.exe @file"
- ManuelCotaNov 03, 2021Copper Contributor
HIamreagan , I see your point. Still, note that the VB6 redistributable package AND mdac package are Microsoft Products, thus it was Microsoft who forgot to add additional files to his own packages, which is acceptable since Microsoft has control of what files are already in his operating systems.
I found that this issue is not limited to old components. The VC++ Distributable package from Visual Studio 2005 has exactly the same problem: The installer that comes with the software fails to install. However, if you get the very latest service pack, then the VC++ distributable libraries are installed... which means that all software created with VC needs to be recompiled since VC++ depends highly on the library version.