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

Visual Basic 6 (VB6), released in 1998, still stands tall as popular tool for legacy applications despite its age.

In this guide, we explain how to install vb6 on Windows 10 (64-bit) by bypassing outdated Java requirements and resolving common installation issues.

install visual basic (vb6)

When installing VB6 on modern 64-bit systems, you may face errors that prevent the setup from continuing. The following steps provide explicit, actionable instructions to help you overcome these hurdles and complete the installation successfully.

Bypass Update Microsoft Virtual Machine for Java Requirement

The VB6 setup insists on installing the outdated Microsoft Virtual Machine for Java. To continue, you must bypass this check.

Below are two methods that trick the installer into either “seeing” Java already installed or skipping the Java installation entirely.

Trick VB6 Setup into Thinking Microsoft Virtual Machine for Java Is Installed

The installer checks for the existence of msjava.dll in C:\Windows\SysWOW64 (64-bit) or C:\Windows\System32 (32-bit). Placing this file in the proper folder will allow the setup to continue without prompting for Java.

a) For the quickest solution, download MSJava.dll and copy it to the correct folder. For 64-bit systems, use C:\Windows\SysWOW64; if that folder isn’t available, use C:\Windows\System32.

b) Alternatively, if you have the installation disc, extract msjava.dll using an archiver such as 7-Zip. Open the archive in the IE4 folder by right-clicking MSJAVX86.exe and selecting “Open archive,” then extract the DLL (copying it first to the Desktop helps avoid access errors) before placing it in the correct system folder.

After copying msjava.dll, launch setup.exe to bypass the Java update prompt and continue installing VB6.

Tell VB6 Setup Not to Install Microsoft Virtual Machine for Java

If the VB6 setup files are stored on your hard drive, you can modify the configuration to skip the Java installation requirement. This method lets you bypass the check altogether.

a) Download the appropriate SETUPWIZ.INI file:

Place the file in the main installation folder to overwrite the existing one and prevent the Java prompt.

b) To edit manually, open SETUPWIZ.INI in Notepad, find the line VmPath=ie4\msjavx86.exe, and delete it (or remove everything after the “=”).

Save the file and restart the installation process.

Change VB6 Setup Options to Prevent Hanging or Failing

Even after bypassing the Java requirement, the installation may still hang or display error messages. Issues such as the “Setup is updating your system” stall, DCOM user account errors, and javasign.dll registration failures are common. The following methods disable problematic components to ensure a smooth setup.

Disable the Setup Components Automatically

This is the simplest method. A modified STF file in the Setup folder already has the problematic components disabled by default.

1. Download the correct file for your version. Right-click the grey Download button and choose “Save link as”:
VS98ENT.STF (Enterprise)
VS98PRO.STF (Professional)

2. Copy all VB6 installation files from the CD to a folder on your hard drive—this is necessary to replace files on disk.

3. In the SETUP folder, replace the original STF file with the downloaded file.

4. Run the installer. The modified STF file pre-selects options to disable components like Microsoft Visual InterDev 6.0, ADO and RDS, and Visual Studio Analyzer, preventing setup errors.

Replace vs98 stf file

Disable the VB6 Setup Components Manually

If installing from CD or if the automatic method isn’t viable, use the Custom install option to disable problematic components manually.

1. Select the Custom install option during setup.

2. When prompted for component selection, highlight Data Access and click “Change Option…” twice to open the subcomponent list.

Vb6 highlight data access

3. Uncheck the first ADO and RDS option. If a warning appears about essential components, click OK to proceed.

Disable ado and rds

4. Highlight Enterprise Tools, click “Change Option…”, and uncheck Visual Studio Analyzer (skip if you’re using the Professional version).

Disable visual studio analyzer

5. Finally, uncheck the Microsoft Visual InterDev 6.0 option in the main install window to avoid the javasign.dll error. Continue the installation; after a reboot, VB6 should be ready to use.

Run Visual Basic in Compatibility Mode

If VB6 displays errors on the New Project screen after installation, run it in compatibility mode. Navigate to C:\Program Files (x86)\Microsoft Visual Studio\VB98, right-click VB6.exe, and select Properties. In the Compatibility tab, enable compatibility mode (the default Windows XP SP2 setting is recommended, though you may try others).

run Vb6 in compatibility mode

Adjust the settings as needed and click OK. This step can resolve issues related to legacy software compatibility on modern Windows systems.

Following these detailed steps, you now know how to install vb6 on Windows 10 with ease.

By bypassing outdated Java requirements and disabling problematic components, you can ensure a smooth, error-free installation. If issues persist, refer back to this guide for additional troubleshooting tips.

182 Comments - Write a Comment

  1. Howard 2 years ago
  2. SP6 not installing 2 years ago
  3. MM 2 years ago
  4. Marco 2 years ago
    • Dusajn 2 years ago
      • tim 2 years ago
  5. Stan S 2 years ago
  6. YK 3 years ago
  7. David 3 years ago
  8. Dennis G Allard 3 years ago
  9. Tony Jackson 3 years ago
  10. Simon Conway-Smith 3 years ago
  11. Tata Ikun 3 years ago
  12. Tinus Van De Wouw 3 years ago
    • Laker 3 years ago
    • Ron 3 years ago
    • Roman 3 years ago
    • Anthony Jackson 2 years ago
  13. Alma 4 years ago
  14. Schubi 4 years ago
  15. Dominic John Chan Maca 4 years ago
  16. Phil frankel 4 years ago
    • Antonio 4 years ago
  17. Thomas 4 years ago
  18. Rajbir singh 4 years ago
  19. Dorset Boy 4 years ago
  20. Gio 4 years ago
  21. Herry 4 years ago
  22. Amin 4 years ago
    • Robert Chisholm 4 years ago
      • Ruadh 4 years ago
      • Mike Cetera 4 years ago
  23. Adrian Stern 4 years ago
  24. C W 4 years ago
  25. a 4 years ago
  26. M.Tyson 4 years ago
  27. Keith U 4 years ago
  28. Valeriu Beligan 4 years ago
  29. Gangamallaiah Madavedi 4 years ago
  30. OldDEV 4 years ago
  31. Ron 4 years ago
  32. Steve 4 years ago
  33. Sebastian 4 years ago
  34. Dmitri Dumas 4 years ago
  35. BB 4 years ago
  36. Laura H. 4 years ago
  37. Eduardo 5 years ago
    • HAL9000 5 years ago
      • NoOneImportant 5 years ago
        • HAL9000 5 years ago
      • just a guy 5 years ago
    • just a guy 5 years ago
      • zoran 4 years ago
    • Robert Harmon 4 years ago
  38. Farooq 5 years ago
    • Bart 4 years ago
  39. Justin 5 years ago
  40. GuruTeja Chilukuri 5 years ago
  41. Smhiker 5 years ago
  42. Niamat 5 years ago
  43. Peter Cook 5 years ago
  44. Jack Decker 5 years ago
  45. Joaquim 5 years ago
  46. Gaudens 5 years ago
  47. Delerium Dog 5 years ago
  48. Ankita 5 years ago
  49. norbert 5 years ago
  50. Joe M 5 years ago
  51. Greg Brylski 5 years ago
  52. Frank Williams 5 years ago
  53. Gary Darveaux 5 years ago
  54. Matthew Setzekorn 5 years ago
    • John Fogle 5 years ago
    • Chris 3 years ago
  55. Parashuram 5 years ago
  56. Jack Blackmore 5 years ago
  57. Laura 5 years ago
  58. Herman van der Blom 5 years ago
  59. Yousif 5 years ago
  60. kraigbreton87 5 years ago
  61. Ricardo H Inhan 5 years ago
  62. Yvonne 5 years ago
    • sachin 5 years ago
  63. KeithSz 6 years ago
  64. Roberto Reynoso 6 years ago
  65. loviealbertson 6 years ago
  66. kermitmoynihan2 6 years ago
  67. tfxdane33248 6 years ago
  68. Kyle 6 years ago
  69. Kavallappa V 6 years ago
  70. Charlie Hieroglyph 6 years ago
    • Harold 6 years ago
    • Kirk 5 years ago
  71. HARSH SINHA 6 years ago
  72. dk 6 years ago
  73. SDR 6 years ago
  74. Rusty Bascom 6 years ago
  75. Raghu 6 years ago
  76. CLARK DAILEY 6 years ago
  77. Satyam 6 years ago
    • MW 6 years ago
    • mikec 6 years ago
  78. Vignesh SK 6 years ago
  79. Ben 6 years ago
  80. Joetech 6 years ago
  81. kag 6 years ago
  82. Anders Lindén 6 years ago
    • Marcus 6 years ago
  83. Robert Hughes 6 years ago
  84. Brent 6 years ago
  85. Brent Lawrence 6 years ago
  86. Bill 6 years ago
  87. Craig 6 years ago
  88. Asifur 6 years ago
  89. John 7 years ago
  90. Chris 7 years ago
  91. Simmy 7 years ago
  92. Peter Jakob 7 years ago
  93. Vikas 7 years ago
  94. Lee Boon Teck 7 years ago
  95. Kevin Kelly 7 years ago
  96. Antonio C. 7 years ago
  97. Vic 7 years ago
  98. Michael 7 years ago
  99. Michael 7 years ago
  100. TdFayez 7 years ago
  101. Scott 7 years ago
  102. LuisC 7 years ago
  103. AndyW 7 years ago
  104. Pradeep Lakhotia 7 years ago
  105. Makis 7 years ago
  106. najeeb 7 years ago
  107. tm 7 years ago
  108. Niels Munch 7 years ago
  109. Simon Morgan 7 years ago
    • Simon Morgan 7 years ago
  110. Gaby 8 years ago
  111. xihco 8 years ago
  112. Mirza Shams 8 years ago
  113. Sam 8 years ago
  114. burhanmeerza 8 years ago
  115. Heince 8 years ago
  116. Jacob 8 years ago
  117. Adrien 8 years ago
  118. Fajar 8 years ago
  119. andik 8 years ago
  120. Peter 8 years ago
  121. Harshad 8 years ago
  122. Michael 9 years ago
  123. fuj1w4r4 9 years ago
  124. Mohit 9 years ago
    • zdimension 9 years ago
  125. kuldeep sawhney 9 years ago
  126. ejolos 9 years ago
  127. Vishal 9 years ago
  128. S Ten 10 years ago
  129. Mark 11 years ago
  130. Sten 11 years ago
  131. venkats 11 years ago
  132. Linesh Jose 12 years ago
  133. Arif Uddin 12 years ago
  134. mazgandhen 12 years ago
    • Anoop 12 years ago
  135. Yudis 14 years ago
  136. harsha45 14 years ago
  137. RyonanGT 14 years ago
  138. Marios Filos 14 years ago
  139. Jehoven 14 years ago
  140. joseph 14 years ago
  141. Jyo 14 years ago
  142. Nitin Gadekar 14 years ago
  143. srikanth potnuru 14 years ago
  144. Merlin_Magii 14 years ago
  145. Ivan 14 years ago
  146. Arun 14 years ago
  147. Ahmad 14 years ago
  148. Anish 14 years ago
  149. Anish 14 years ago
  150. sirius 14 years ago
  151. Chandra 14 years ago
  152. Tharun Jacob George 14 years ago
  153. INDRANIL 14 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.