How To Install Visual Basic 6 (VB6) in Windows 10

Visual Basic 6 (VB6) was one of the easiest programming languages to learn back in the day. It was released in 1998 and is now replaced by Visual Basic .NET (VB.NET). Even though VB6 is outdated, the programs created and compiled with VB6 can still work with the latest Windows operating systems which is why you can still find people attempting to install VB6 on Windows 10. One example is a high profile FBI crackdown case on the powerful RAT malware called BlackShades which is capable of silently doing a lot of things on a remote computer and it is created with VB6.

install visual basic vb6

If you’re trying to install VB6 on newer operating systems starting from Windows 8 onward especially with 64-bit architecture, you are sure to encounter installation problems. One of the problems is the setup installer asking you to update your Microsoft Virtual Machine for Java which was discontinued back in 2003. It is a terribly bad idea to go ahead and install the outdated Java as there might be vulnerabilities that can compromise your system’s security.

Apart from that, if you’re trying to install VB6 in Windows 8 and above with 64-bit, you may also encounter problems with the VB6 setup not able to complete the installation and hanging at “Setup is updating your system“.

In this article we’ll show you how to successfully install Visual Basic 6 (VB6) in Windows 10 64-bit.

Bypass Update Microsoft Virtual Machine for Java

A computer should always maintain the latest version of Java and is pointless to have the discontinued Microsoft Virtual Machine for Java on the computer just to install Visual Basic 6. The problem is, the VB6 setup does not allow you to continue with the installation if you untick the “Update Microsoft Virtual Machine for Java” checkbox as it grays out the Next button.

update microsoft virtual machine for java

The solution is to trick the VB6 setup into thinking that the Microsoft Virtual Machine for Java already exists on the system so the installer automatically skips this step. Basically the VB6 setup checks if the file MSJAVA.DLL exists in the System32 folder for 32-bit operating systems or in SysWOW64 for 64-bit operating systems. It is possible to create a zero byte MSJAVA.DLL fake file and place it in either System32 or SysWOW64 depending on the Windows architecture but this doesn’t work in Windows 10.

If you have 7-Zip archiver (If you don’t have, you can download 7-Zip from here), go to the IE4 folder located in the VB6 installation files, right click at MSJAVX86.exe, go to 7-Zip and select “Open archive“.

open msjavx86.exe archive with 7zip

In 7-Zip, double click on which will open another list of files. Look for msjava.dll in the list, extract and copy it to C:\Windows\System32\ if you’re on a 32-bit of Windows or C:\Windows\SysWOW64\ if you’re on a 64-bit Windows. If you are unable to follow the steps above, or don’t want to install additional programs such as 7-Zip, you can download the MSJAVA.DLL file from the link below and copy it to the directory mentioned above.


After copying MSJAVA.DLL to either the System32 or SysWOW64 folder, you can launch the Visual Basic 6 setup.exe file to start the installation. You’ll notice that it doesn’t prompt you to update your Microsoft Virtual Machine for Java anymore. If you’re unsure about the architecture of your Windows operating system, the general rule is to copy the MSJAVA.DLL file to SysWOW64 folder if it exist, and if it doesn’t, then copy it to System32.

Prevent “Setup is updating your system…” progress from getting stuck

If you follow the default installation options, chances are you’ll experience the “Setup is updating your system” progress getting stuck, especially on a 64-bit Windows operating system.

vb6 setup is updating your system stuck

If you take a look at Task Manager, you’ll notice that the process ACMSETUP.EXE uses up a lot of CPU resources, but there is no progress even after waiting for hours. You can terminate the hung process which stops the installation from completing and the resulting problem is you won’t find the Visual Basic 6 shortcuts in the start menu and there will not be an entry in Programs and Features for you to uninstall the program. You can however still run Visual Basic 6 directly from the program’s folder.

Since the Visual Basic 6 installer was created back in 1998, there are some components that will not install properly in a current Windows operating system which causes the installation to get stuck or hang. After investigating further, we found the culprit and you’ll just need to exclude the specific item from installation to solve the problem.

During the setup options, you are asked to choose 3 options which are Custom, Products or Server Applications. Make sure to select Custom and click Next.

vb6 custom setup options

When you get to the installation part that asks you to choose the components from the list, select “Data Access” and click the Change Option button.

vb6 setup data access change option

You will then get another list of components with only 5 items. Select the first option “ADO, RDS, and OLE DB Providers” and click the Change Option button.


Now you’ll get another list of components that belongs to the ADO, RDS and OLE DB Providers. Simply uncheck the first option “ADO and RDS” and click OK.

uncheck ADO RDS install options

You should get a warning that this component is an essential part of the application and the application will not run properly if it is not installed. You can ignore that warning popup by clicking OK and proceeding with the installation. The VB6 installation setup should now complete successfully without problems.

visual studio setup completed successfully

115 Comments - Write a Comment

  1. norbert 1 week ago
  2. Joe M 2 weeks ago
  3. Greg Brylski 1 month ago
  4. Frank Williams 1 month ago
  5. Gary Darveaux 1 month ago
  6. Matthew Setzekorn 1 month ago
    • John Fogle 3 weeks ago
  7. Parashuram 2 months ago
  8. Jack Blackmore 2 months ago
  9. Laura 3 months ago
  10. Herman van der Blom 3 months ago
  11. Yousif 3 months ago
  12. kraigbreton87 4 months ago
  13. Ricardo H Inhan 4 months ago
  14. Yvonne 5 months ago
    • sachin 4 months ago
  15. KeithSz 5 months ago
  16. Roberto Reynoso 5 months ago
  17. loviealbertson 6 months ago
  18. kermitmoynihan2 6 months ago
  19. tfxdane33248 6 months ago
  20. Kyle 6 months ago
  21. Kavallappa V 8 months ago
  22. Charlie Hieroglyph 10 months ago
    • Harold 8 months ago
    • Kirk 5 months ago
  23. HARSH SINHA 10 months ago
  24. dk 11 months ago
  25. SDR 12 months ago
  26. Rusty Bascom 12 months ago
  27. Raghu 1 year ago
  28. CLARK DAILEY 1 year ago
  29. Satyam 1 year ago
    • MW 11 months ago
    • mikec 7 months ago
  30. Vignesh SK 1 year ago
  31. Ben 1 year ago
  32. Joetech 1 year ago
  33. kag 1 year ago
  34. Anders Lindén 1 year ago
    • Marcus 1 year ago
  35. Robert Hughes 1 year ago
  36. Brent 1 year ago
  37. Brent Lawrence 1 year ago
  38. Bill 1 year ago
  39. Craig 1 year ago
  40. Asifur 1 year ago
  41. John 1 year ago
  42. Chris 2 years ago
  43. Simmy 2 years ago
  44. Peter Jakob 2 years ago
  45. Vikas 2 years ago
  46. Lee Boon Teck 2 years ago
  47. Kevin Kelly 2 years ago
  48. Antonio C. 2 years ago
  49. Vic 2 years ago
  50. Michael 2 years ago
  51. Michael 2 years ago
  52. TdFayez 2 years ago
  53. Scott 2 years ago
  54. LuisC 2 years ago
  55. AndyW 2 years ago
  56. Pradeep Lakhotia 2 years ago
  57. Makis 2 years ago
  58. najeeb 2 years ago
  59. tm 2 years ago
  60. Niels Munch 2 years ago
  61. Simon Morgan 2 years ago
    • Simon Morgan 2 years ago
  62. Gaby 2 years ago
  63. xihco 2 years ago
  64. Mirza Shams 2 years ago
  65. Sam 3 years ago
  66. burhanmeerza 3 years ago
  67. Heince 3 years ago
  68. Jacob 3 years ago
  69. Adrien 3 years ago
  70. Fajar 3 years ago
  71. andik 3 years ago
  72. Peter 3 years ago
  73. Harshad 3 years ago
  74. Michael 3 years ago
  75. fuj1w4r4 3 years ago
  76. Mohit 3 years ago
    • zdimension 3 years ago
  77. kuldeep sawhney 4 years ago
  78. ejolos 4 years ago
  79. Vishal 4 years ago
  80. S Ten 5 years ago
  81. Mark 6 years ago
  82. Sten 6 years ago
  83. venkats 6 years ago
  84. Linesh Jose 6 years ago
  85. Arif Uddin 7 years ago
  86. mazgandhen 7 years ago
    • Anoop 7 years ago
  87. Yudis 8 years ago
  88. harsha45 9 years ago
  89. RyonanGT 9 years ago
  90. Marios Filos 9 years ago
  91. Jehoven 9 years ago
  92. joseph 9 years ago
  93. Jyo 9 years ago
  94. Nitin Gadekar 9 years ago
  95. srikanth potnuru 9 years ago
  96. Merlin_Magii 9 years ago
  97. Ivan 9 years ago
  98. Arun 9 years ago
  99. Ahmad 9 years ago
  100. Anish 9 years ago
  101. Anish 9 years ago
  102. sirius 9 years ago
  103. Chandra 9 years ago
  104. Tharun Jacob George 9 years ago
  105. INDRANIL 9 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.