How to install Visual Basic 6 on Windows 10

How to install Visual Basic 6 on Windows 10
blank
There are quite a distribute of pages out there which gives parts of the floor. none of them has the set. I link to the important ones at the bottom .

1.  Turn off UAC and grant full access to the Admin user

  1. Turn off UAC.
  2. How to install Visual Basic 6.0 on Windows 10
    To avoid the install freezing in the “Setup is updating your system” step,
    you must also grant full access to the Admin user (used to install the VB6)
    on the registry key: HKCR\RDSServer.DataFactory\Clsid

blank

Donovan Brown reckons you should besides disable IE Enhanced Security
Configuration
. I did n’t do this ; but then my install did n’t complete either .
blank

2.  Copy MSJAVA.DLL to Windows

A computer should constantly maintain the latest version of Java and is otiose to have the discontinued Microsoft Virtual Machine for Java on the computer just to install Visual Basic 6. The trouble is, the VB6 frame-up 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 adjacent clitoris .
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 mechanically skips this gradation. Basically the VB6 frame-up checks if the file MSJAVA.DLL exists in the System32 booklet 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 does n’t work in Windows 10 .
Win10 entirely :
( riddle grab here )

Assuming you have the 7-Zip archiver creature :
Go to the IE4 booklet located in the VB6 initiation files, right click at MSJAVX86.exe, go to 7-Zip and select “ open archive ” .
In 7-Zip, double click on javabase.cab 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 do n’t want to install extra programs such as 7-Zip, you can download the MSJAVA.DLL file from the connection below and copy it to the directory mentioned above .
here ‘s my copy of the file .

3.  Get the software

Download Visual Basic Service Pack 6 from here. This is actually the patches for VS 6 Enterprise Edition. Run the download EXE to create a temp directory with the installer in it .
then get your replicate of Visual Studio 6.0 Enterprise version. Choices :

I have ocular Studio 6.0 Enterprise edition, which came from my MSDN subscription a identical retentive meter ago. so I used that .

  1. Copy the VS CDs to your hard disk, if you want this to install quickly. 
    You want to end up with this:

blank
Or you might have an MSDN subscription, in which case you can do this .

  1. Download Visual Basic 6.0 Enterprise ISO from your MSDN
    subscription
  2. Right-click the ISO
  3. Select Mount

4.  Change the SETUP.EXE properties so it runs in XP SP3 compatibility
mode

  1. Right-click setup.exe from the mounted drive
  2. Select Properties
  3. Click the Compatibility tab
  4. Check the Run this program in compatibility mode for:
    checkbox
  5. Select Windows XP (Service Pack 3)
  6. Click Apply
  7. Click OK

5.  Run SETUP.EXE – but as administrator

  1. Right-click on setup.exe
  2. Select Run as administrator (you may have to confirm
    this a number of times).
  3. Click Next
  4. Click “I accept
    agreement”, then Next.
  5. Enter name and
    company information, click Next.
  6. Select Custom Setup, click Next. 
  7. Click Continue, then Ok.
  8. Setup will “think to itself” for about 2 minutes. Processing can be
    verified by starting Task Manager, and checking the CPU usage of
    ACMSETUP.EXE.
  9. On the options list, select the following:
    1. Microsoft Visual Basic 6.0
    2. ActiveX
    3. Data Access  (DUBIOUS)
    4. Graphics (if you want it)
    5. All other options should be unchecked.
  10. Click Continue, setup will continue.

This is where things get concern. This installation will finally hang in “ Setup is updating your system ”. update : there is a cook for this here .
Once you reach this point, kill the installation and restart
your machine.   (Donovan Brown suggests trying to
install it again; but this did not work on Win10). ocular Basic is now, basically, installed. You should be able to find it and run it from the Windows Start menu .

7.  Now you could try to install Service Pack 6

BUT … I got “ Was not completed successfully ” when I tried this. Instructions are at Donovan Brown .

8.  A few other points

  • If you do not have the MSDN CD, clear the checkbox on the next dialog,
    and click next. You’ll be warned of the lack of MSDN, but just click Yes to
    accept.
  • Click Next to skip the installation of Installshield. This is a really
    old version you don’t want anyway.
  • Click Next again to skip the installation of BackOffice, VSS, and SNA
    Server. Not needed!
  • On the next dialog, clear the checkbox for “Register Now”, and click
    Finish.
  • The wizard will exit, and you’re done. You can find VB6 under Start, All
    Programs, Microsoft Visual Studio 6. Enjoy!

9.  Turn UAC on again!

Yes do .

10.  Change the compatibility on VB6 executable

After installing VB6, you ‘ll want to change the compatibility settings for the IDE feasible. Otherwise it can run very slowly !

  • Using Windows Explorer, browse
    the location where you installed
    VB6. By default, the path is
    C:\Program Files\Microsoft Visual
    Studio\VB98\
  • Right click the VB6.exe program
    file, and select properties from the
    context menu.
  • Click on the Compatibility tab.
  • Place a check in each of these
    checkboxes:
  • Run this program in
    compatibility mode for Windows XP
    (Service Pack 3)

    • Disable Visual Themes
    • Disable Desktop Composition
    • Disable display scaling on
      high DPI settings
    • If you have UAC turned on,
      it is probably advisable to
      check the ‘Run this program as
      an Administrator’ box

After changing these settings, fire up the IDE, and things should be back to normal, and the IDE is no longer inert .

11. Links

blank
constructive feedback is welcomed to Roger Pearse. Written 22nd February 2019.
blank

This page has been on-line since 22nd February 2019. blank Return to Roger Pearse’s
Pages

source : https://swivelcard.info
Category : Tech FAQ

Related Posts

Leave a Reply

Your email address will not be published.