VPS for Traders





Search This Blog

Pages

Google

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




source :
https://www.raymond.cc/blog/install-visual-basic-6-vb6-in-windows-7-without-microsoft-virtual-machine-for-java/

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 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 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.
ADO RDS OLE
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.


How to fix Boot BCD startup errors on Windows PCs


I was greeted by a Recovery error message the other day when I powered up a PC running Microsoft's Windows 10 operating system. The recovery screen stated that "Your PC/Device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors".

The PC shut down properly the day before and the whole thing was mysterious. The Recovery screen suggested to use recovery tools or contact a PC administrator or the PC/Device manufacturer for assistance.

Read on to find out how I repaired the PC and how you can do it as well.

Boot BCD startup errors

recovery pc needs to be repaired

Boot problems related to the BCD come in many different forms. Here is a short list of error messages that Windows may throw during boot:

§  Your PC/Device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors

§  There was a problem with a device connected to your PC. An unexpected I/O error has occurred.

§  Your PC needs to be repaired. The Boot Configuration Data file doesn't contain valid information for an operating system.

§  Windows failed to start. A recent hardware or software change might be the cause.

One common denominator is that the Recovery screen references the file \boot\bcd.

Cause of BCD related startup errors

The error can be a result of (among other reasons):

§  An unexpected shutdown.

§  Bluescreen or other errors that require a restart.

§  Data corruption.

§  Failing hard drives.

§  BCD file corruption or misconfiguration.

§  Malicious software.

What is BCD?

Boot Configuration Data (BCD) was introduced in Windows Vista by Microsoft. It replaced the boot.ini file in Vista. The BCD holds important boot-related information including the list of the available operating systems.

In short, it stores vital boot information required to start Windows. If the BCD is missing, corrupt or altered, Windows may not start properly anymore but display the Recovery screen at the top.

Fixing BCD issues if you cannot boot

All issues described above have in common that you cannot boot into Windows anymore. You cannot use tools like the Visual BCD Editor to correct the issue on the affected machine because of that as you cannot boot into Windows anymore.

Generally speaking, it is required that you boot into the advanced startup (Windows 10 or 8.1) or system recovery options (Windows 7) and run several commands from the command prompt there.

If you do have Windows installation media, you can use it to boot from and access the recovery options.

Windows 10 users can download media from Microsoft instead.


Step by Step guide

1.    Insert the installation media into the PC. Connect the USB Flash Drive to the computer or put the DVD into the DVD drive.

2.    Find out how to access the BIOS/UEFI of the machine. This should be displayed during boot. Common keys are F1, F12 or DEL.

3.    Change the boot order so that the computer boots from the USB or DVD drive before it boots from internal hard drives.

4.    Click next on the first screen of setup. That screen should highlight the installation language and keyboard.

5.    Select Repair your computer on the next screen.

6.    When the "choose an option" menu opens, select Troubleshoot.

7.    Select Advanced options.

8.    Select Command Prompt. This opens a command prompt interface.

9.    Run the following commands one after the other:

1.    bootrec /fixmbr -- This option writes a MBR to the system partition but does not overwrite the system partition in the process. It fixes MBR corruption and issues with non-standard MBR code.

2.    bootrec /fixboot -- This options writes a new boot sector to the system partition. Fixes damaged boot sectors, non-standard boot sectors, and issues caused by the installation of earlier Windows operating systems (pre-Vista). Ignore any error that may come up.

3.    bootrec /rebuildbcd -- This options scans all connected hard drives for Windows installations. If it finds additional installations, prompts you to add them to the BCD Store. Windows should pick up the installed operating system. Make sure you add it to the BCD store. Select (a) for all during the prompt, or add installations individually instead.

10. Exit the command prompt window.

11. Restart the PC to find out if the repair was successful.

Video walkthroughs

Resources



Related articles











source : https://www.ghacks.net/2018/02/05/how-to-fix-boot-bcd-startup-errors-on-windows-pcs/

LifesDream - earn money each month





Verifield - Innovative Wealth Management

Verifield - your proven partners on stock markets Hasilkan uang dari Internet? Why Not? AVAZZY.com - Real business and real incomes

Alert Pay.. Get paid for subscribe...

DbClix Join 4Shared Now!

Liberty Reserve - Online Investment


Head Tail Game Liberty Reserve LR

Flip N Win

DepositFiles

Google

Blog Archive

Get Paid to sign Up.

Internet Pay to Click

YOU can make $THOUSANDS of dollars per month...Starting from $0.00!

LinkGrand.com


Baca iklan .. dibayar loh...!

www.easyhits4u.com

EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising! DonkeyMails.com: No Minimum Payout

Yahoo! Movies News & Gossip

Alexa

Alexa review on mInvestment