Installing Visual Basic/Studio 6 on Windows 10

Visual Studio 6 Logo

As I’ve worked my way through the various oddities of Windows 10, I’ve found that most applications work great. For the most part, anything that worked on Windows 7 works on Windows 10. Visual Basic 6 (VB6) has been one of the few exceptions, so far.

Why install Visual Basic 6? It’s a long-dead program, after all. Well, like many companies out there, mine has a few proprietary programs that were written, long ago, in VB6. The apps work great, so it just hasn’t made sense to spend the time and/or money it would take to upgrade them to VB.Net. Yet, we still need to be able to make minor changes to the programs now and then.

We could keep an old XP machine around just for VB6, or set up a virtual instance of XP, or go for either of those options with Windows 7 (VB6 installed on Win7, though not perfectly). Instead of going those routes, though, I decided to look into getting VB6 properly installed on Windows 10. These notes should work for the Pro and Enterprise editions of both Visual Basic 6 and Visual Studio 6.

Note that this tutorial is really geared toward getting Visual Basic 6 up and running. I do not know whether any of the other Visual Studio applications will work after the steps below have been followed.

Also note that this process will not allow you to install the Data Access components. They just don’t work with Windows 10.

Remove Any Remnants of VB6/VS6

If you’re like me, you probably tried to install Visual Basic 6 on your computer the old fashioned way. When the install failed, you were then left with bits and pieces of VB laying around, and no uninstaller. Luckily, Microsoft wrote up an article about removing Visual Studio manually (How To Manually Uninstall Visual Studio with MSDN Library). I do not believe searching your hard drive for some of the files, as they mention, is necessary. Here are the most important steps to follow:

  • Delete the installation folders for any Visual Studio products. Note that the following are the default locations; the actual locations may be different on your system if you did a custom installation or if you are on a 64-Bit computer:
    • \Program Files\Microsoft Visual Studio
    • \Program Files\Common Files\Microsoft Shared\MSDesigners98
    • \Program Files\Common Files\Microsoft Shared\MSDN
    • \Program Files\Common Files\Microsoft Shared\VS98
    • \Program Files\Common Files\Microsoft Shared\Wizards98
  • Delete the installation folders for any MSDN Libraries (the previous step may have deleted these if they were installed to the default location). The default folders are as follows:
    • Program Files\Microsoft Visual Studio\MSDN98 (for the MSDN Library for Visual Studio 6.0)
    • Program Files\Microsoft Visual Studio\MSDN (for the MSDN Quarterly Library releases)
  • Use Regedit.exe to delete the following Registry keys if they exist:
    • HKEY_LOCAL_MACHINE\Software\Microsoft\DevStudio
    • HKEY_LOCAL_MACHINE\Software\Microsoft\MSVSDG
    • HKEY_LOCAL_MACHINE\Software\Microsoft\HTML Help Collections
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Basic\6.0
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Component Manager
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Modeler
    • HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0
    • HKEY_CURRENT_USER\Software\Microsoft\DevStudio
    • HKEY_CURRENT_USER\Software\Microsoft\MSVSDG
    • HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0
    • HKEY_CURRENT_USER\Software\Microsoft\Visual Modeler
    • HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro
    • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\6.0
  • If you’re on a 64-Bit system, check here, as well:
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\DevStudio
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\MSVSDG
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\HTML Help Collections
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Basic\6.0
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Component Manager
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Modeler
    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\6.0
  • Use Regedit.exe to delete any instance of the key for Visual Studio or MSDN Library under the following keys. Since you don’t have an uninstaller, you probably won’t find anything here. It’s worth looking through the keys, anyway, to see if you find any mentions of Visual Studio or MSDN. WARNING: Do not delete the “Uninstall” key; only delete MSDN or Visual Studio keys listed within it.
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • 64-Bit systems only: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

Prepare Your Files

Now, we need to get all of our files in place. The tool we’re going to use for the installation can actually read off the CDs, but I find it much quicker to have already copied the necessary files to my hard drive. In my case, I setup everything in C:\Visual Studio 6\.

  • First, copy the contents of all Visual Basic/Studio 6 and MSDN CDs to the folder you’ve chosen.
  • Next, download and extract the Visual Studio SP6 patch (https://www.microsoft.com/en-us/download/details.aspx?id=9183). Place the extracted contents in a folder named VS6SP6.
  • You should end up with a set of directories that look like those shown below. The names aren’t important, as long as you know what’s what.

We’re going to use a handy tool put together by Giorgio Brausi to complete our installation. It takes care of some of the trickier parts of getting Visual Basic/Studio 6 installed on a Windows 10 computer.

  • Download Giorgio’s installation program from his website, nuke.vbcorner.net (http://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx).
  • The program does not need to be installed. Simply extract the contents of the zip file and run vs6installer.exe.
  • The first thing we need to do is setup the program’s working folder. This is where the installer program will copy it’s working fileset to. I suggest using a folder you know the program will have permission to access. Something in your Documents folder should work.
  • Click the “Set Root folder” button.
    VS_installer_set_root_folder
  • Browse to where you want to create the root folder, then click Make New Folder. Using the tool to make the folder will ensure that it has the necessary permissions. Click “Yes” to confirm that it is the correct location.
  • If you want to install the various graphic files included with VS6, then make sure that option is checked.
  • Make sure the “Disable Data Access” option is chosen. It should already be selected, by default, on Windows 10 systems.
  • Select the edition you will be installing. In my case, I chose Visual Studio 6 Professional Edition. You should choose whatever matches the CDs you are using for the installation. Your options should look similar to this:
    VS_installer_options
  • Click the “Step 1” button. The program will now have you select the source location for Visual Basic/Studio’s files. The files can be on CDs, or on your hard drive (as I previously recommended). Select the set of files referenced at the top of the selection window, confirm that the copy procedure is correct, then wait as the necessary files are copied to the new root location.
    VS_installer_step_1VS6_step_1_select
  • Click “Step 2” and select the MSDN files. Technically, you don’t need to install MSDN, but it doesn’t hurt. You will need to select both CDs for this step. After CD1 has finished copying, you will be prompted to select CD2.
    VS_installer_step_2
  • On to “Step 3”. This will prepare the Service Pack 6 files. Browse to and select the files you previously extracted to the VS6SP6 directory.
    VS_installer_step_3
  • You may run into an issue here if you are installing the Professional Edition of VB6/VS6. The Service Pack 6 files that are still available on the Net are actually for the Enterprise Edition. I have, so far, been unable to source a Pro version of SP6. If you get an error about missing files (see below), then simply move on with the installation. We’ll manually install SP6, later.
    VS6_SP6_error

Install Visual Basic/Studio

Now that our files are in place, it’s time to begin installing the program.

  • Click the first Install button.
    VS_installer_vs6
  • Click “Yes” to confirm you wish to continue with the installation.
  • The standard installer will now launch. Make your way through it, entering your Serial Number as necessary.
  • Make sure to choose the standard Install option, NOT the Server Applications option.
  • Keep clicking Next, Continue, OK, etc., until you get to this screen. Click the Custom button.
    VS6_custom_button
  • The installer tool will have already made the appropriate selections based upon what you chose before launching the installer, so there should be no need to make any changes here. I believe you can install the options besides Visual Basic 6, but they were unnecessary for me. Some of the items under “Data Access” are incompatible with Windows 10. They should already be disabled if you left the “Disable Data Access” option checked in the installer tool.
  • If your version of Visual Studio/Basic has a SourceSafe option, then it is probably wise to uncheck that option.
  • Here’s how my installation options looked:
    vs6_install_options
  • Click Continue and the program will install.
  • Click OK when you get the Success message.
  • You may need to Restart your system at this point. If so, wait for the restart to finish, then pick up where you left off.
  • The MSDN installer will now launch. Make sure to UNCHECK the “Install MSDN” option, then click Next.
    VS6_install_MSDN
  • Click “Yes” to the message warning you about not installing MSDN, click Next to skip any additional installers, then UNCHECK “Register Now” and click Finish.
  • If you were to check Programs and Features now, you would see that you now have a proper Visual Basic/Studio 6 uninstaller.

Install the MSDN Library

Time to install the MSDN Library. This step is optional, but I recommend it as Visual Basic 6 Help files are only going to get harder to find on the Net as time goes by.

  • Click the second Install button.
    VS_installer_msdn
  • Click “Yes” to confirm you want to install MSDN, then make your way through the various screens.
  • When you get to the screen below, go ahead and click the “Full” option. You could click the “Custom” button and pick and choose what files to install, but considering the size of modern HDDs, it really isn’t necessary.
    MSDN_full_button
  • Click OK when installation has finished, and make your way back to the installer tool.

Install Service Pack 6

There are two ways to install Service Pack 6. If you have the proper service pack files for your installation, then you will be able to use the installer tool to launch the installation. If not, then you’ll need to launch the installer manually.

Note that Service Pack 6 only contains updates for Visual Studio, Visual C++, and Visual Basic, and Visual SourceSafe. If you installed any other programs (FoxPro or InterDev), then you should first install Service Pack 5. I find it hard to justify installing those programs, so won’t go over that scenario here.

  • If you were able to find the right version of SP6 for your installation, then you can click the third Install button.
    VS_installer_sp6
  • Click “Yes” to confirm you want to install SP6.
  • If you were unable to find the correct version of SP6, then find the folder you previously extracted the SP6 files to (during this step), right click on the setupsp6.exe file, and choose “Run as administrator”.
  • From here on, the installation of SP6 will be the same for both scenarios.
  • Click “Continue”, then click “I Agree”.
  • If you get an option to click a “Complete” button, then do so.
  • Click “OK” once installation has finished.

A Few More Steps

Just a few more steps until we’re done. These steps will take care of a few errors/annoyances you may encounter.

  • Go to the Options tab in the Visual Studio 6 Installer program and click “Create Desktop shortcut”.
    VS_installer_shortcut
  • Run the newly created shortcut from your Desktop.
  • If you get an “Automation error”, then close VB6, return to the installer tool, and click the “Run As Administrator” option.
  • Relaunch VB6, and the error should be gone.
  • You can now return to the installer tool and click the “Run As Administrator” option again to turn off that setting. It is not needed after the necessary registrations have been completed.
  • We have just one more setting to change. VB6, when run on Windows 10, will experience a delay whenever you draw, move, or resize objects on a Form in the VB IDE. To correct this issue, click the “Set Vista SP2 compatible” button.
    VS_installer_vista_compatible
  • If the “Set Vista SP2 compatible” button does not work, then you may need to set that option manually. To do so, navigate to where VB6 is installed (most likely C:\Program Files (x86)\Microsoft Visual Studio\VB98\).
  • Right click on VB6.exe and choose “Properties”.
  • Go to the Compatibility tab, check the “Run this program in compatibility mode for” option, and choose “Windows Vista (Service Pack 2)”.
    VB6_properties
  • Click OK, then try running the program again. You should now find that controls can be manipulated without issue.

And you’re done! Visual Basic 6 should now run just as well as it ever did. Now then, time to get back to work on converting those VB6 apps to VB.Net 😉


  • Eric Barsalou

    I had VB6 installed on my desktop (Win7) ans my laptop (Win8.1).
    I upgraded to Win 10. Everything Ok but since the 1511 update VB6 and all the executables I created do not work anymore on my laptop. Any idea ? Thanks in advance !

    • danbrust

      I have not yet installed 1511 on any of my computers, so I’m not sure what the problem could be. It’s odd that the executables have stopped working, as I haven’t heard anything about them removing VB6 runtime support. You might want to try a full reinstall of VB6. I’ll follow-up with an update if I run into the same issue when I install 1511.

      • Eric Barsalou

        Thanks
        The strangest thing is that everything is is still Ok on my desktop !

        • Giorgio Brausi

          I’m going to check the build 1511 of Windows 10…
          However, if the issue is related of laptop only i believe that the problem is due to something on your laptop.
          What can it be? Is very hard to discover without inspecting the computer.

  • Danie Cronjé Art

    Thanks, these tips were extremely helpful to install my version of VB6 successfully on Windows 10. I still have one very annoying issue: When I run the PDW, it takes more than 8 minutes for “Loading package types…” and then 2 minutes to create the CAB file.

    • danbrust

      Hmm, I’m not sure what could be going on there. I don’t typically use PDW, but I just tested it out and everything seemed to run pretty quickly. You could try running the PDW as an admin, at least once, to see if something needs to be registered.

      • Danie Cronjé Art

        I tried, but the result is the same. I guess I’ll have to be patient.

        • Giorgio Brausi

          PDW is old and outdated, is no longer adequate to create installations for modern versions of Windows. Many things have changed since XP, too. While the PDW has never been updated by Microsoft. Despite the source project is available (C:Program Files (x86)Microsoft Visual StudioVB98WizardsPDWizardSetup1), I suggest you to use a most modern installer, which are constantly updated.
          For example Inno Setup (www.innosetup.org) is free, but it’s one of the best.

  • Paolo Pini

    Many thanks, I plan to use VB6 for almost 20 years more.

    • http://www.gunstar1.com/ Edward Kimble

      I’m a big fan of the KISS approach, “keep it simple stupid.” 99.9% of all games, machine controls, college apps, and interfacing programs are less than 10 pages and don’t need special modules. VB6 does that extremely well. Taught VB.NET for years, it was truly infantile, for lack of a better word. It was a huge lost waste of time and human effort in almost every case. The language was never glued down, a cursed and mostly just bad file hierarchy, too long and too hard to memorize command names, too much time spent on variable conversions, all kinds of faults (bad code), insistence on the complexity of C but without the tools, always a byte overhead that was staggering, and with constantly changing graphics packages, protocols, and interfaces that never worked or gave typically gave improper orientation, bad scaling, or didn’t convert well to print, etc. Gambas, by comparison, that visual IDE for Linux with the weird shrimp logo, is, for all of its dangling parts and lack of documentation, better than VB.Net for productivity, beats it all to heck. And I can cross compile if I have to. So, why, if you want return customers, if you want repeated use and productivity, if you want high schools to use it as a means.. not an end, why would you hobble a whole industry, stick to “complicated and wasteful” code instead of eschewing that blasphemy? Was it some lazy snob in a tech department who looked down his nose at the compromises, or hated the long hours spent simplifying things for people he/she would never see, or was it some snooty uber tech who couldn’t stand simple and efficient, couldn’t stand the lack of complicated objects, data structures, and file complexity? That’s what C++ is for :)

  • Paolo Pini

    I’ve notate that the SP6 can’t be installed before to install MSDN ?!.

    • danbrust

      Are you saying you can’t install SP6 unless you install MSDN, too? I was unable to get the “prepare SP6” to work, but I found that I could skip that step and install it the normal way (by running the installer) after Visual Studio and MSDN were installed using the special installer application.

      • Paolo Pini

        VB6 appear to work fine and finally I’ve installed the SP6 too but although the installation is completed with no error the vb6 does’t write ‘SP6’ on the splash screen. I though that the system32 it is now the SystemWOW64 and VB6 install SP6 in wrong folders perhaps?!.

        • danbrust

          The splash screen goes by too quickly for me to see, but I do see SP6 on the About page. Did you make sure to run the SP6 installer as an administrator?

          • Paolo Pini

            I tried as administrator also but nothing change, the installation is completed with no error (apart the request to overwrite some current DLL with the version in SP6 that i tried to confirm and to not confirm) but in the about screen not appear the ‘SP6’. You know if I can install manually the SP6?
            Regards.

          • danbrust

            I’m not sure if it can be manually installed. I’ve had success installing it by extracting the files from the SP6 installer, then running “setupsp6.exe” as an administrator.

          • Giorgio Brausi

            There is no relation between SP6 and MSDN (but both recommended).
            If SP6 installation fails, then means that the VB installation hasn’t been terminated correctly.

            Firts of all, ensure to use the latest version 4.5 of VS6 Installer
            Windows continue to change the rules ‘on fly’ (build after build), so Windows 10 TP version work different from Home/Pro version, therefore need to be updated.

            For any question I suggest the official FORUM of VS6 Installer web site.

          • Giorgio Brausi

            VS6 Installer require that the SP6 must be unpacked, first.
            After you have run the STEP 3 (Prepare) and last choose INSTALL SP6 button.

  • VB6 Programming

    Good to see VB6 programming continues.

  • Colin Charman

    I tried this to install VB6 Pro into a fresh Windows 10 Home PC and got numerous problems. I had VB6 working on Windows 7 on my laptop and it continued to work after upgrading to 10. Even resorting to Xp-SP3 compatibility in the new Win10 PC, I got several problems, including:
    1. AVG flagged a virus IDP.Alexa.51 (which I allowed thru – ouch???)
    2. VSinstaller wouldnt accept the prepped 1VB60PRO folder until I ran as admin/XP-SP3
    3. Eventually VB6 installed without data access components – not much use to me!
    4. With an apparently installed VB6 I tried loading a project – forms etc failed to load, giving “Error accessing system registry” for each, and the logs show for example “Class MSComDlg.CommonDialog of control cdbOpen was not a loaded control class”
    5. I then tried adding default data access in another VB6 install and I get errors trying to access a database – sorry can’t recall detail but to do with Jet Isam.
    6. So tried adding more of the data access components and VB6 ran indefinitely “ipdating your system” and consuming 25% CPU.

    The project I wanted to load uses a Data Environment – is this teh cause of the problems?

    Its not totally gloom and despondency. I created an XP VM using Virtualbox and installed everything there OK. The project loads and the compiled program executes OK in Windows10

  • Giuseppe Saponieri

    Setup is updating your system ……….. not responding. Ugh. W10. VS6 Ent Eng

    • Giorgio Brausi

      Use latest version 4.5.
      For any question I suggest the official FORUM of VS6 Installer web site.

      • Giuseppe Saponieri

        Thank you

        Il martedì 22 marzo 2016, Disqus ha scritto:

  • Dyantika Aprina

    i have installer Visual Basic 6.0 Enterprise Edition, should i instal it first or how? i don’t have msdncd and vscd like the picture, please help me to instal it to my windows 10 :(

    • Giorgio Brausi

      No, you can use your VB folders, wherever they are (CD, DVD, USB, LAN Network, …)

      For any question I suggest the official FORUM VS6 Installer web site.

    • danbrust

      You should be able to install it without having MSDN or VSCD. Simply follow the steps, but substitute your version of Visual Basic for the Visual Studio shown in the tutorial, and skip the stuff about MSDN. You will still need to use the installer folder for Visual Basic (whether they are located on disc, CD, etc.), and you will need to choose the Visual Basic option in the VS6 Installer tool. The VS6 Installer tool lets you pick the right folders, so any naming scheme will work; I just provide you with my suggestions in the tutorial.

  • Jan Krebs

    Dear Dan:
    I liked your post and appreciated the effort that went behind it.
    Just a suggestion: Please add a paragraph before “Remove any remnants of VB6/SP6”, warning that what follows excludes Data Access
    I read through much of the article, FULL OF HOPE, until getting disappointed and depressed…

    • danbrust

      Great idea; thanks!

  • Jan Krebs

    And another question from my ignorant point of view: Why do apps written in an VM XP environment with Data Access DO run under W10?

  • Giorgio Brausi

    Thak you for excellent tutorial to VS6 Installer 4.2
    VS6I has been updated to v4.5 on 02/26/2016

    I add a link to your blog on my VS6 Installer page:
    http://nuke.vbcorner.net/Tools/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx

    • danbrust

      Thank you very much for stopping by Giorgio! It’s a great program, and I was happy to write up my little tutorial :)

      To others who may be reading this, Giorgio Brausi is the creator of the VS6 Installer tool used in the tutorial, so he is THE authority on it’s use.

      • Giorgio Brausi

        Thank you!!!
        I’m sorry to have discovered your tutorial just today.
        Your work has really impressed me, for details and quality of images.

        Compliments.

    • Daniel Martin

      I downloaded VS6I 4.5 from the site named in the Dan Brust blog article. It creates files in UsersxxxxAppDataTemp, and Symantec Endpoint Protection raised alarms that these files were infected with malware. I called my company’s security people and they said that the URL in the blog article is a malware site. Did some nasty person hack and hijack your site recently?

    • German Rachid

      where I download the VB 6 cds?

  • Giorgio Brausi

    About STEP 3 – Service Pack 6

    Regarding the error: File not found (53) mentioned in the tutorial, it is important to keep in mind that VS6 Installer isn’t a zip-exe-extractor, therefore the files of the SP6 must be extracted from the executable, first .

    If your extractor utility doesn’t allow this, I suggest to install 7ZIP (free) from which you can use the Extract command at:
    from Windows Explorer -> Right-click the file, and from the menu -> Extract to -> [choose your folder]

    Next, you will able to install SP6.

    • danbrust

      I believe the problem I ran into here was that the only version of SP6 still available on the Net is for the Enterprise version of Visual Studio, but I was trying to install the Pro version. Your tool expects to find Pro files in the SP6 folder, so it would give a File Not Found error when attempting to install SP6. I am still unable to find a Pro version of the SP6 patch, but running the Enterprise version manually seems to work.

    • Muhammad Syarif Wicaksono

      Hi Giorgio Brausi, thanks for creating vs6 installer tool, but i can’t download the vs6 installer from the forum(http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx), i tried to register on
      that forum about 3 or 4 times with same email but different username,
      but registration process not complete. No verification code sent
      in my email. But, the username show on latest membership.

  • Scott Garratt

    I never post; anywhere!, However, many many thanks to Dan for an excellent and comprehensive tutorial on using Giorgio’s VB6 on WIN10 installation tool (VS6 Installer). I would have fought with the regular MS installer for days had I not found Dan’s blog and then subsequently Giorgio’s installer.

  • ramcee

    Really wonderfull…. Thanks a lot… Can you please help me install vsflexgrid7L also .

  • Nick

    I can’t download “vs6 installer”, becouse it requires registation. I tried to regestry but it doesn’t sent me a confirm password! I tried 3 times on different e-mails! Nothing happends! Can someone just upload somethere this damn programm?

  • Muhammad Syarif Wicaksono

    Hi Danbrust, thanks for this great tutorial. But i can’t download the vs6 installer from the forum, i try to register on that forum about 3 or 4 times with same email but different username, but registration process not complete, always notif that security code wrong but i typed the security code correctly. No verification code sent in my email.

  • Giorgio Brausi

    Registration to VBCorner web site issue:

    The issue is due to LOG file are full!
    The provider should solve the problem in short time.

    Sorry for this inconvenience.

  • Protein Stack

    Hi Everyone,

    I was succesfully able to install Visual
    Studio 6 Professional on windows 10 Pro 64bit WITH Data Access. It is
    very simple, just install VS6 as you normally would with Data Access
    enabled, it will freeze when you try to finalize the install. Allow it
    to freeze, then end the installation task. You will still have all the
    install files and will be able to run the program. Now, you will need
    to install the VB6 service pack 6, but it won’t allow you to since
    visual studio did not install correctly. To fix this, install VS6 over
    again, this time uncheck data access components, install as normal.
    Afterward, run the service pack and you should be good to go. Enjoy!

    • Belleye

      Hi Protein Snack any chance you still have the installer? Looks like the LOG file is full again.

  • Old Salt

    Dan Brust & Giorgio Brausi are the BOMB! I have to thank you both for this work and Giorgio especially for his excellent installer tool. Bravo! Bellissimo!!

    It took a few tries to sort it out, and @ProteinStack suggesting to install again if things go wonky was the ticket. The only little gotcha was missing a bunch of reference DLL’s that I had built over time. No problem, just ‘Mount’ the old XP VHD drive and viola, I’m back in business. My clients will be so pleased.

  • Dalli Krichen

    Hi , thank you for this very good tutorial , but I seem to have a problem in the “Install Visual Basic/Studio” , I get an error saying “File ACMSETUP.STF not found!” is there any solution ?

    • X-Dream

      Hi Dalli
      Do you fixed the problem with the missing file ACMSETUP.STF? I have the same issue here.
      Would be great if you can tell me how you fixed it.

  • Abhishek
  • Belleye

    Not getting a registration code :( can’t download

    • danbrust

      I threw up the latest version on a file sharing site: http://www.filedropper.com/vs6installer45
      Hopefully they get the log issue fixed.

      • Belleye

        Thank you!

      • Giorgio Brausi

        Dan,
        it is strictly forbidden to distribute and / or share VS6 Installer wizard (any version, any file) without written permission from the author (me). Respect my work. Remove the zip from filedropper, please.
        Thank.
        For any issues or questions you ‘must’ use the official FORUM of VS6 Installer wizard.

  • Daniel

    Hi Dan! I could install Visual Studio Ent. AND MSDN, and SP6. But there is no connection between VB IDE and MSDN help. I mean: I press F1 and a “No help available” (or smothing like that, in Spanish) shows up. But the MSDN menu is available and it works. Any idea? OS is Windows 10 64 bits. Thank you. Daniel

  • Harry Stumpf

    Dan. Great article. I got VB6 installed on my Windows 10 PC with no difficulty. I am able to compile and run a large program with several 3rd party active x controls that I installed separately.

    But when I click on the square button in the IDE to stop execution of my program I get the following message

    Run-time error ‘-2147418105 (80010007)’:

    Automation error
    The Callee (server [not server application]) is not available and
    disappeared; all connections are invalid. The call may have
    executed.

    followed by this (the usual crash message).

    Visual Basic has stopped working

    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is
    available.

    When I execute the End command in my VB code I get the usual crash message. Also occasionally (but not always) when I open the project in the IDE I get this message.

    Data View

    Method ‘~’ of object ‘~’ failed.

    This doesn’t seem to affect the program. Do you have any suggestions to help me eliminate these problems? Thanks.

    • Harry Stumpf

      I solved one of the problems. I replaced the End statement in the source code with Unload Me and now when I close the program programmatically it doesn’t crash the IDE,

  • Eduardo Melero

    It worked very fine! I’ve not installed SP6, the code I ran worked fine! Thanks a lot!

  • John Johnson

    I have installed vb6 Pro and SP6 with no hassles but have encountered a problem with MSDN. When I select the ‘Prepare for MSDN’ option I get an error message stating that file ‘….Disk1SETUPmsdn98.inf’ cannot be found. I have checked the MSDN Disk1 CD (copied to hard drive) and there is no ‘SETUP’ directory. I am using VSInstaller v 4.5 downloaded yesterday.

  • Giorgio Brausi

    I’m Giorgio Brausi, author of VS6Installer 4.x wizard.

    I wish to inform you that this blog is not officially related to my instrument.
    Thank you to Dan for the excellent tutorial, but I want to specify that this blog is not the official forum of VS6Installer 4.x wizard, and you can not think/believe that Dan will give you an official assistance in case of problems.

    If you have problems, after following the tutorial of Dan, then you have to contact the Official FORUM which is available on my website:

    http://nuke.vbcorner.net/Forum/tabid/56/forumid/33/scope/threads/language/en-US/Default.aspx

    As user of VS6Installer 4.x wizard, you are already authorized to use the forum without any additional registration.
    Thank you for your attention.

    Note that it is strictly forbidden to distribute and / or share VS6 Installer (any version, any file) without written permission from the author (me).

  • CoachBlair Wagner

    The VS Installer for Windows 10 allows you to set the VB6.EXE compatibilit mode to Windows Vista (Service Pack 2).

    DO NOT DO THIS.

    Do not run the VB6 IDE in compatibility mode of any kind. The suggested pripose is to fix anomalies in the graphic designer of the IDE. Believe me, these anomalies are nothing compared to the damage left in your windows registry when VB6.EXE is run in compatibility mode.

    When VB6.EXE is used to Compile-And-Run your application, it replaces GUIDs and class and typelib registrations causing them to refer to its VB6DEBUG.DLL. this allows the IDE to intercept execution of your code so you can debug. When it does this replacement of your DLL and OCX registrations, it saves your stuff under HKCRVBKeySave5. Unfortunately, when VB6.EXE is set to run in compatibility mode of an earlier verison of Windows, it fails to restore all of your DLL and OCX registration information. It leaves VBKeySave5 there, which causes your IDE to take much longer during subsequent starts of the IDE, and it trashes your registry, eventually rendering your application not-runnable on your machine.

    Test this yourself. Don’t just take my word.

    • razeenb

      HI Wagner
      Thanks a lot. I was supporting some legacy app for a client and wasted a shit load of time on compiling and running. Its takes sooo much time..like 10-15 mins to just run app in debug mode, 30 mins to compile it an EXE.
      just realized it was because of the Vista compatibility.
      Thanks a ton!

  • Rafa

    Imposible registrarme para descargar, he intentado varias veces y nada.

    • cano73

      a mi me llego el correo en los no deseados, tambien pase buen rato sin poder registrarme

  • Ian Nájar

    My boss attempted to install vb6 by following this tutorial, but he says that a TROJAN is detected by his antivirus. I’m sure that is a false positive, right???

    • topher

      I used the install a few months back and it worked perfect. I just tried to install on a second machine and my end point protection found many Trojan malware risks. I am not sure if these are false positives, but I am now scanning my first machine.

  • dartman

    I notice a comment by CoachBlair Wagner about compatibility mode being dangerous to the registry. Yet there are supposedly 85000 people who have used this.

    Anybody else seen this problem? I just installed and have only compiled one program which i installed on another machine. Looks OK so far.

    Anyone else with this issue?

  • Klyun

    I managed to install Visual Basic 6 Enterprise using the regular installer (at least the one I got), though after copying files it initially hung at “Setup is updating your system”. A check in Process Explorer showed it was trying to write to a registry key called “HKCRRDSServer.DataFactoryClsid” (located under Wow6432Node in 64-bit Windows). After I took ownership of that registry key and gave my user full control (keeping the installer running in the process), it worked.

    • henry lim

      I also got stuck at “Setup is updating your system”. I have since exit it. Can I still locate this registry location?

  • Robert Graham

    Good article. I wonder if my working instance of VB6 will survive in-place upgrade from Win 7 to Win 10?

    Also VERY important for those of you who own a “mouse” for your PC, search for and install “MouseWheelFix” so you can scroll as you would normally expect to.This works with VBA in Office as well, which is great for those who occasionally need to dip into that area.

  • Jesse Berman

    Genius. Worked perfectly. I’d already gotten VB6 running okay, but was having a heck of a time getting SP6 to install correctly. This did the trick, and I have an uninstall option to boot. I really can’t thank you enough!!

  • Daniel Latikaynen

    I installed VB6 enterprise regularly on Windows 10. Then I installed VB6 with SP6 regularly on a Windows XP Prof. Virtual Machine. Then I copied the contents of XP: c:program filesmicrosoft visual studio over W10: c:program files (x86)microsoft visual studio. No changes to registry. SP6 shows on splash screen. Everything works fine.

    • Ravi ganesh

      Same worked for me. Just had two problems.
      Installation froze at the end. I ignored.
      Automation error. Ran as admin and it disappeared.

  • Ali Murtadha

    How can I carry this program

  • Jim_Satterfield

    Unfortunately The latest version of this tool has some issues for some people, myself included. On starting there is a Type mismatch 13 in procedure Form_Load of frmMain2 message. Then a Run-time error ’91’.

  • Bruno Horn

    I was very pleased to find this solution because we developed in the 1990 a quite complex program in VB6. It is planned to replace it within the next 3 or 4 years. So I was happy to see that it is not necessary to Keep my XP alive. Unfortunately the installation program from the nuke vbcorner does not run on none of my computers (all Windows 10, some Home Edition, some pro, on all machines all updates driven). All installation are with german language. I posted it at vbcorner, I am the third with the same Problem. No answer since 22. March :-( .
    See below the screenshots.
    So I have now to try to install it w/o the installer. Does anyone have experience?
    Kind regards
    Bruno
    https://uploads.disquscdn.com/images/5cd36f6c666301cf64bbee2db03de4e0f09bfefba192aa8e4c1b415c93bc0923.png https://uploads.disquscdn.com/images/1f851941b861d29de469654d0c9bd51876002f0c29fab450985cc1f2bbc399e7.png

    • Squirrl

      You have to set the Region to Italy and it will get past that problem.

  • সাইদ হীরা

    Thank you very much.

  • univok

    I ran the installer as an administrator and prepared everything under
    Windows 10, but when pressing “Install Visual Studio 6.0. ENT, I get an
    “access denied” error. What can I do? https://uploads.disquscdn.com/images/fd6a3ff8512f258520220cb14f2742e4e568212d16ee46b5f832e3b7cf61b6d2.png

  • zocolofishing

    Get around Windows-10, not being able to ‘drag and drop’ controls. I seem to be able to create them the hard-way. As in an text-editor. But not with the IDE. I’ve seen this now on two machines.

  • Khabibb Mubarakk

    hello i cant download..i
    do not have access to view this tab within the portal.

  • Russell Morton

    I have successfully done the installation above and used it to create several new programs running on Win 10.
    I recently tried to create a user control, but this did not work. The control was not visible on the browser, gave a warning when trying to register it, and the OCX could not be added to a project although it did appear in the controls list.
    Has anyone got a work around for this ???

  • VB6 Programming

    Microsoft’s support statement for VB6 programming….

    https://docs.microsoft.com/en-us/dotnet/visual-basic/reference/vb6-support

    The Visual Basic team is committed to “It Just Works” compatibility for Visual Basic 6.0 applications on the following supported Windows operating systems:
    Windows Vista
    Windows Server 2008 including R2
    Windows 7
    Windows 8 and Windows 8.1
    Windows Server 2012 including R2
    Windows 10
    Windows Server 2016
    The Visual Basic team’s goal is that Visual Basic 6.0 applications continue to run on supported Windows versions. As detailed in this document, the core Visual Basic 6.0 runtime will be supported for the full lifetime of supported Windows versions, which is five years of mainstream support followed by five years of extended support

  • SJD101

    I tried running the 4.8 version of the installer, but as soon as I get to the “Install VB6 Pro” step and the VB6 Professional setup window appears, clicking on “Next” immediately results in “Setup has stopped working.” Any ideas?

  • barry ross

    i’m taking over maintenance of a vb6 system – that is operating on a windows 10 operating system – it uses data bases (sql server) and files – am confused about your comment …..

    ‘Also note that this process will not allow you to install the Data Access components. They just don’t work with Windows 10.’

    my first step is getting a VS 6 up and running to check out programs – appreciate your article. Am ordering vb6 from ebay.