Visual Basic 6 Portable For Windows 7
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.
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.
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“.
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:WindowsSystem32 if you’re on a 32-bit of Windows or C:WindowsSysWOW64 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.
Download MSJAVA.DLL
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.
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.
Itil audit checklist. 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.
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.
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.
Jan 26, 2018 - Kievit Ot Font Free Download. The initial work on FF Kievit began in 1995, as part of a school project. The concept was finished several years. Feb 9, 2018 - Is sans serif typeface created by and published by which comes in 2 widths each with 9 weights and italics, a wide range of OpenType features,. Kievit ot font free download.
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.
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.
You might also like:
Solving Cannot create the window Error on Microsoft Visual Studio 2010Install Windows 7 and Vista MUI Language Packs on Basic, Home Premium, Business or ProRun a Simulation on How To Setup or Install Windows XPHow to Install Portable Java Runtime Environment onto USB Flash DriveHow To Install and Test Windows Without Affecting The Currently Installed OS 91 Comments - Write a Comment
Installed as suggested by you, but while opening no errors but to run simple vb program the Visual Basic IDE crashes . Closes by itself on pressuring run button . Pls suggest me what to do
ReplyUnselecting installation of ADO and RDS in Data Tools (VB6 install) did the trick for me on 64-bits Windows 10.
ReplyHave you found the solution? I’m having the same issue
ReplyIt works!! thnku.
ReplyFantastic. I found that it’s best to also remove the Enterprise Tools > Analyzer.
ReplyThank you very much! I’m happy to work with VB 6.0 under Windows 10.
ReplySeriously, awesome. I’m a bit embarrassed to be still using a development tool that is 19 years old.
There is a Service Pak for VB6. That also does not seem to install correctly. Any advice?
ReplyThanks so much. Worked like a charm.
ReplyThis procedure allowed me to install VC6 SP6 on a Windows 7 Professional machine
which then fixed several problems including: 1) cant open a file 2) cant add files to project.
Thank you!!!
But what if we want to work with ADO,OLEDB as it is essential part for my developement.
ReplyYes, a very good question. And is Sysinfo.ocx affected?
ReplyThis is an excellent article, thank you very much, It did fixed my issue finally.
ReplyThanks so much for this! i have spent hours trying to install!
ReplyThks very much this idea really help me so much
ReplyThank you very much. It did work finally.
ReplyI am also getting “Setup was unable to create a DCOM user account in order to register “C:Program Files (x86)Microsoft Visual StudioCommonToolsVS-Ent98Vanalyzrvalec.exe
Replystackoverflow.com/questions/50175855/installing-vb6-error-unable-to-create-a-dcom-user-account
ReplyMany thanks for your instructions. Got past the obstacles eventually. I just wonder if it is possible to revisit the setup to change back to the default settings now that the program functions? I am using Windows 10 ver 1809
ReplyUsing the instructions on this page I was finally able to get V6 Enterprise installed. here are some things I did to finally get installed:
Run from CD setup.exe in administrative mode and compatibility XP
Edited the Enterprise Tools: Unchecked visual modeling; the web option and don’t remember exactly but kept trying and eliminating some enterprise tools.
I was ask to restart to complete setup. I did then received a popup about APEMREG.exe. I first tried compatibility mode and then later I was ask if it installed correctly. I answered Yes.
I did not try and register over the web because I registered many years ago and guessed the registeration would fail.
Many thanks for this website. I probably would not have thought of unchecking the ADO
Thanks, the suggestion to uncheck the ADO got my install past the install of all components but install failed with the message
Setup was unable to create DCOM user account in order to register ‘C:Program Files (x86)Microsoft Visual StudioCommonToolsVS-Ent98Vanalyzrvalec.exe
I also tried running setup.exe as administrator and in xp compatibility mode.
Anyone have any suggestions?
Unfortunately, this didn’t work for me. In point where you uncheck the data components proceeds through the screens, but then recursively repeats the three screens. I finally just clicked Ok and the install started. At the end I got a error saying it failed to self-register a .DLL file.
I am also unable to uninstall the partial load of VB6 because the uninstall program can’t find the Setup.stf file (because the install program never created one). I’d appreciate any help at all (via email if you could) to resolve this. I’m on a 64-bit Windows 10, v.1803. I would assume it isn’t safe to just manually delete the files.
ReplyI have 2 applications, home use, which require VB6.0 to connect to a Microsoft Access Database and without ADO this is useless.
Is there anyway after installing without ADO to register that component manually?
VB6.0 is the only reason for me to continue to use any MS OS. I can do everything else I want with Linux.
ReplyWhat the ADO and RDS does?
ReplyFollowed the instructions, and VB6 installed without a hitch. Thanks!
ReplyUnfortunately this only works if you run setup.exe twice.
If you deinstall vb6 and remove all files.
Then start setup.exe again and follow your instructions it will still
stuck at the end.
Only after 2nd try it will goes to the end.
I would prefer to have it fully ended after 1st try.
ReplyI love you!!!
ReplyThanks for the great tutorial!
Works perfectly!
All the best and kind regards
Thanks a lot, it saved a lot of effort for me :)
Kudos to your efforts!
Thank you for a very clear and helpful instruction set. It has been of great help to me. My appreciation to your contributions.
Replythanks for the help. now to get SP6 installed on top of this
ReplyThank you!! Much appreciated.
ReplyAwesome, thanks heaps.
ReplyExcellent article! Thank you.
ReplyExcellent article! Thank you. I also have SP2, SP5 & SP6 can these also be installed, and can the 2 MSDN Library discs be installed once the VB6 program is installed?
Replythank you saved my time !!
ReplyI was getting a “this app can’t run on your pc” error trying to run a VB exe file on Server 2016. I went back to my development PC that is Windows 10 64 bit and set the VB.EXE to compatibility mode XP SP3 and the problem went away.
ReplyGreat! It works! Thanks a lot :)
ReplyThanks, otherwise it would have been an XP VM!
ReplyThanks a lot. It was very good and explained very well.
ReplyMillion thanks!
That ADO and RDS took me almost 5 hours!
Great Jon here!
Thanks for the article
I have met with an issue. All my installation files are in one folder and not on CDs. After choosing custom option,the installer is asking for visual studio 6.0Enterprise edition Disk 1, which I dont have as all installation files are in one folder. Can nyone help? Thank you in advance
I have a Biz Spark MSDN subscription and VB6 Enterprise download from microsoft no longer gives the custom install option, only regular and server installs. How can we un-check the options causing the not-responding hang-up during install?
ReplyThanks for the simple and clear instructions. I succeeded in installing on Server 2012 R2 as well. This was a life saver, after multiple futile attempts.
ReplyThanks from me too! I installed the Pro version and although it seemed as though it was hanging at the end (the install screen had ‘…not responding’, it was only for about 30 secs., and then the install completed successfully.
I have a lot of legacy programs written if vb6 so this have helped a lot.
Thanks and regards,
ReplyBy the way, I think it’s worth mentioning that when you run it for the first time vb won’t find some of the DLL’s it is looking for. You will get the standard error with DLL’s and it won’t run. The DLL’s it can’t find will have been put in a folder off your ‘Users’ folder, which is why vb6 can’t find them. All you have to do is copy them from where they are to your sysWOW64 folder and bob’s your uncle (you don’t have to register them).
ReplyThanks a lot! :-)
I needed the solution to ““Setup is updating your system” progress getting stuck”.
I didn’t mind missing deinstall possibilities., but missed the vb-help.
I’m very happy having it available again!
“Javasign.dll was unable to register itself in the system registry.” Installation is not complete….try re-installing.
I have followed the instruction carefully but still I always encounter this at the end. I am installing it in Windows 10. Please help.
Reply“If you need ADO, etc. you may download the related ocx, copy it in windows/system32 and register it manually (regsvr32)”
what are the related ocx files and how to register. Can someone please help.
ReplyVery useful :)
ReplyThanks a Million Sir. Excellent explanation. Sir you have made it so simple. Once again thanks
ReplyThanks man you are my hero :)
ReplySaved me a lot of trouble, thank you so much
ReplyChapeau !!! Merci Beaucoup.
Replyunbelieveble…
work as a charm…. thanks a lot bro.
woooooow thanks a lot, sir
ReplyThanks a lot…. works as suggested!!
Replywow… nice help man. ( ‘_’ )//
ReplyIf you need ADO, etc. you may download the related ocx, copy it in windows/system32 and register it manually (regsvr32). Reboot your system and you are done!
ReplyThanks a lot, sir
ReplyThis is worked for me once, Kudos. But then I had to re-install it. And now I am not able to bypass “Windows Virtual Machine for Java” mandatory install. Even after copying msjava.dll. Can anyone suggest me what to do? Maybe something with registry?
ReplyI had this problem too. Solved it by copying MSJAVA.DLL into C:Windows directly instead of System32 or SysWOW64.
ReplyThanks a lot. The article has been very useful and you have explained things in great details.
Regards
Thanks guys……it helped me….smiles
ReplyHey.!!
Thanks a lot this helped me out…!!
VB6 installs and runs OK on the Windows 10 technical preview.
The future looks promising for VB6 programming.
wow it works thanks !!
ReplyVote for an updated Visual Basic 6
visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3440221-bring-back-classic-visual-basic-an-improved-versi
thank
ReplyThanks bro. It really helped :)
ReplyThanks man… It really helped a lot :)
ReplyThat’s crazy cool way:) , thx very much
ReplyThanx man…. :)
ReplyOk. 1’m try this now…thank you very much
Replythnx!!!
ReplyNice guide…
Thank you very much… :D
I use VB6 myself daily (even nowadays), cause I’m not a professional programmer but since knew a lot about VB back then, I have a numerous essentials programs written by me in VB6 that help many people @ the company I work. At some point I will migrate to vb.net but as many of old VB6 coders… Time isn’t the best friend :)
Personally I didn’t have any issue with Win7 requiring MSJava.dll (maybe cause I have the PRO and not the ENTERPRISE version).
Just for information, You need to disable Aero Composition in VB6’s shortcut in order to be able to move components in normal speed (Aero really screws with the GUI environment of VB6).
In General, the experience isn’t the best but it’s usable (at least under 32bit Win7 versions).
ReplyThanks raymond. This is a great discovery. Nice hack.
For now, I want to thank you as this will really help me.
Thank you once again.
It is the best
ReplyNow this is what I call versatile hacking. Very nice!
ReplyYou solve my problem regarding VB 6.0.
Replywow. now i understood whats the problem while installing vb6
ReplyLOL ! Hey Raymond …. you’re a latter day Sherlock Holmes but without the funny hat and pipe ! Well done ! *grins*
ReplyNice! I have tons of VB6 code which may need to be compiled in the future, who knows… Good to know there is a way to make it work on win7!
Replythanks… it was really nice
ReplyGreat discovery. You always find ways to get rid of stuff. Highly appreciated your efforts. keep it up.
ReplyUr great
ReplyTats great
ReplyYou are excellent at analyzing and solving problem.
ReplyFirst to say…Good Work!
ReplyThank you for posting this. Even though most people reading this don’t need this, it was very helpful to me.
I am a BCA student and my university (India) require to study VB 6 . Thank you very much.
ReplyThanks for the nice tip Raymond. Very much useful for those who are using Win7 & want to use VB 6 too ;). Pdf xchange editor review.
Reply