Thanks for the comment. I will read the thread again. Please can you guide me as to where I could get the VB6 professional edition CD. I would like to try in my home PC.
Printable View
Your best bet to get VB6 professional edition CD is from eBay or Amazon.
Excellent guide - got me up and running very quickly.
Just a wee update that might be useful for other users installing VB6 on Windows 10 64-bit...
One of my projects used non-standard Controls (THREED32.OCX from Sheridan Software).
This file is available on the VB6 CD-ROM, in the folder \Common\Tools\vb\Controls.
Copy THREED32.OCX to C:\Windows\SysWOW64, and register in an elevated-command prompt REGSVR32 THREED32.OCX.
Ensure that 'Sheridan 3D Controls' is ticked in VB6 - Project - Components - Controls Tab
However, when you load a project that uses these non-standard controls you may see the following error message...
"License information for this component was not found. You do not have an appropriate license to use this functionality in the design environment."
Fortunately, you can register the licence for these controls by double-clicking vbctrls.reg from the same folder on the VB6 CD-ROM where you found the Controls themselves.
And that's it. Simples!
Thanks again for a top guide :)
All, great information here - thanks for sharing! I'm getting ready to make the plunge on trying to install VB6 on Win10 64-bit. I was (of course) hoping for the path of least resistance, and planning to start out directly here: http://nuke.vbcorner.net/Home/tabid/...S/Default.aspx
Does anyone have any experiences to share with going this route?
There is a second way. Maybe you can include that also.
Edit the file called SETUPWIZ.INI and under the section called [setup wizard] change the entry for VmPath=ie4\msjavx86.exe, if this entry does not exist you can skip this step. We need to remove the value ie4\msjavx86.exe form this entry so it will create an empty environment variable during installation. This will stop the setup wizard from looking for and installing this very old version of MS Java on our system.
So at the end it should look like
Code:VmPath=
Krool, I made a note in the OP. Thanks for the tip.
I have two Visual Basic Pro disks. Neither has a folder named: "Files from Root of CD". The dates on their folders are:
6/28/1996
6/27/1998
How can I obtain the folder "Files from Root of CD"?
==== Edit:
Never mind -- I understand now that the folder named "Files from Root of CD" is just a saved copy of the contents of the VB6 CD.
I just successfully installed Visual Studio 6 Enterprise on Windows 10 64 bit and I used the instruction provided at the link below.
https://www.codeproject.com/Articles...dio-on-Windows
Vs6sp6B.exe is no longer being hosted by Microsoft we should put up a mirror with a confirmed hash
Why bother? Vs6sp6D.exe became available quite a long time ago (2013?).
I will take any link to any IDE service pack 6, I havent been able to find one. I had to pull an installer off of virus total :-\
regardless the links to whatever version this therad points to on MS are 404 "We're sorry, this download is no longer available. "
Vs6sp6B.exe is available on the Wayback machine:
Good luck.Code:https://web.archive.org/web/20060406052529/http://download.microsoft.com/download/f/0/3/f03c202d-1ce4-4267-9393-a8a4b400a982/Vs6sp6B.exe
You can still get SP 6B from: https://download.cnet.com/Service-Pa...-10726545.html
- Service Pack 6 for Visual Basic 6.0 (2004/3/25)
https://web.archive.org/web/20210413035615/https://www.microsoft.com/en-us/download/details.aspx?id=5721
- Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d (2004/3/25)
https://web.archive.org/web/20210323220808/https://www.microsoft.com/en-us/download/details.aspx?id=9183
- Service Pack 6 for Visual Basic 6.0: Run-Time Redistribution Pack (vbrun60sp6.exe) (2004/3/25)
https://web.archive.org/web/20210417132444/https://www.microsoft.com/en-us/download/details.aspx?id=24417
- Microsoft Visual Basic 6.0 Common Controls (2005/4/27)
https://web.archive.org/web/20210511202824/https://www.microsoft.com/en-us/download/details.aspx?id=10019
- Visual Basic 6.0 Service Pack 6 oleaut32.DLL Security Update (2008/2/12)
https://web.archive.org/web/20210131134547/https://www.microsoft.com/en-us/download/details.aspx?id=11782
- Microsoft Visual Basic 6.0 Service Pack 6 Security Rollup Update (2008/12/9)
https://web.archive.org/web/20200804142055/https://www.microsoft.com/en-us/download/details.aspx?id=7474
- Microsoft Visual Basic 6.0 Service Pack 6 Security Rollup Update (2012/4/5)
https://web.archive.org/web/20210619150312/https://www.microsoft.com/en-us/download/details.aspx?id=29326
- Microsoft Visual Basic 6.0 Service Pack 6 Security Rollup Update (2012/8/10)
https://web.archive.org/web/20201127064050/https://www.microsoft.com/en-us/download/details.aspx?id=30505
- Microsoft Visual Basic 6.0 Service Pack 6 Cumulative Update (2012/8/16)
https://web.archive.org/web/20210506040406/https://www.microsoft.com/en-us/download/details.aspx?id=7030
- Microsoft Visual Basic 6.0 Service Pack 6 Security Rollup Update (2016/1/8)
https://web.archive.org/web/20201030031830/https://www.microsoft.com/en-us/download/details.aspx?id=50722
Beware of the security rollup and cumulative updates; according to dilettante, they are riddled with bugs.
Hello,
How do I download the installer at http://nuke.vbcorner.net/VS6Installe.../Default.aspx? The download link produces no action.
Thanks in advance.
One important precursor to any installation of the VB6 IDE that I always perform is the registration of the legacy type lib msdatsrc.tlb
This command run from an elevated console:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe msdatsrc.tlb
This prevents errors when attempting to add a user defined control OCX to the VB6 IDE.
When this typelib is not registered, dropping an OCX onto the VB6 tool box results in this error:
"object not registered"
I have my own personal installation instructions that have this highlighted as a precursor. It is so easy to forget the solution for such nondescript errors as that shown above.
This seems to be required on Windows 7 and above but I have only tested it on Win 7 and 10.
Hello Elroy,
I have used several procedures posted in web even using VS6Installer without success.
Fortunately yours it succeeded !
Any idea to install properly MSDN ?
Hi,
Re: VB6 Pro & Enterprise edition:
There's no Compatibility Tab shown,
when I right-click on its SETUP.EXE file > Properties
Q: So how do I rectify this?
NB: I've searched online but found no solution.
Hello
I thought my VB6 installation was good, but I get the error Data View, Automation Error, error accessing the OLE registry. Does anyone know any fix for this?
Hi. Thanks very much. I tried a demo of a scrolling game...it was awful. I think VB is more suited towards IT systems. I used to be a database programmer, but want to make a scrolling game. Do you think, seeing as you're here, that DirectX and/or XNA with either VB6 or VB.net would be a good choice? I don't have any hope of a very graphical game working well with Vanilla VB6.
Apologies if this is the wrong forum!
Note that the URL for the VB6 Cumulative Service Pack 6 (SP6) download has changed to: https://www.microsoft.com/en-us/down...s.aspx?id=7030
According to this forum post by dilettante that ".msi" installer is bugged and will mess up your Windows. You're better off with the original SP6 installer if you still have it.
When the help system is not functioning (unable to show help) try registering the vshelp.dll:
regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\VS98\vshelp.dll"
Reported by Gymbo:
https://www.vbforums.com/showthread....=1#post5675333
New Guy here!
I will attempt installing VB6 on my WIN10 laptop soon and I'm a bit nervous. I've read as much as I can to this point. However, I have a few questions.
1) I do not require installing MSDN?
2) What is the advantage of having MSDN?
3) Will I have a better chance of success installing EE or PRO, or does it matter? (I do not know the difference)
4) Any pointers to avoid failure?
So far I have set a new restore point, downloaded PRO, Vs6sp6B, VB60SP6-K3096896-ENU and written down many notes.
I look forward to getting back into VB6 again. I used it a bit back in the 90's and really enjoyed it.
Thanks
I neglected to include a question about shims. I'm unclear on how to install shims :(
No need for MSDN.
Just find the main threads and guides for installing VB6 - it will work, one way or another.
Don't neglect TwinBasic, you will be VERY surprised.
For setup or the IDE?
For setup just go to setup.exe in Explorer, right click, properties, compatibility, and use the Windows XP SP3 compatibility mode, and enable run as administrator.
For the IDE, I've found the same to be fine but installing this shim set is better: https://www.vbforums.com/showthread....=1#post5076065
I most recently successfully installed Enterprise from a full ISO image extracted to a folder following the method in https://www.codeproject.com/Articles...dio-on-Windows
TwinBasic may be a reasonable option. It's certainly much easier to install. My intent is to communicate serially with RPs, Arduino, and PICs via USB to develop small data acquisition and control systems.
I uploaded an image of a VB6 book. Is TwinBasic seamlessly compatible with this book?
Thank you all for helping me sort this out.
Shouldnt have anything in that book that doesnt work with TwinBasic. As a nice bonus with tb you can more than one class objects per file.
Might be a few minor hiccups... VBPs/projects have to be opened individually, no VBG/group support yet (planned post 1.0), and no property page support yet (planned for v1.0).
But other than that all the code should work; you'll need to install the extended VB6 controls tB doesn't have reimplementations of yet like mscomm.ocx; tB can use the ocx just like VB6 but you have to install/register it.
The modern IDE, new language features, and things like Unicode/graphics/visual styles modernizations make tB the much better choice though :)
With VB6 and new Extended TwinBasic, the future is YOURS!
(say that in a big American advertising-style voice from the fifties).
I didn't read the entire thread and don't know if this was mentioned.
I use the VS Installer I can't remember the name of but most of you will be familiar with. It's the one that copies everything from your install disks including SP6, asks you what kind install you want and also installs MSDN.
That usually works.
BUT!
When it doesn't, I have older Setup programs for apps I wrote in VB6 w/SP6. I just install that and it tends to fix all the problems with things that didn't register properly. Setup run with Admin privileges.
For example, I have a tiny app I wrote that renames groups of files using a numbering system. I just install that and it fixes everything. I don't have to leave it installed.
As much as I looked forward to using VB6 again, I installed C#. It was an easy, clean install using VS Installer. My VB6 book will return to the shelf to collect dust for another 25 years :(
I was under the impression C# was for developing console scripts while Visual C++ was needed to develop .exe GUIs using C. I struggled with VC++ many years ago and didn't want to go back there. VB was a blessing to me back then. C# does what I want today.
Thank you all for helping me work through this. Sharing your knowledge is very much appreciated.
Lol can't possibly see the couple minor hoops installing vb6 or adjusting to tB being so insurmountable you just decide to learn an entirely different approach to programming instead :confused:
just installed VB6 on my new windows 10 computer.
the usual first part where it complain about stability/security and it require u to install some java and a forced restart.
after that "same setup.exe" will continue and no issue here. done.
> it require u to install some java and a forced restart.
Just create an empty msjava.dll in SysWOW64 using Notepad to save the restart.
> after that "same setup.exe" will continue and no issue here. done.
Always been the case with Win10+ versions. The whole thread is moot since the begining.
My README in install folder reads this:
. . . but it is only first point which makes the difference nowadays.Code:1. copy empty msjava.dll to System32 or SysWOW64 on x64
2. Uncheck Data Access
3. Uncheck Enterprise Tools->Visual Studio Analyzer
4. Uncheck Tools->OLE/COM object viewer
Edit: Who else wants signalling admins to delete this whole thread as dangerous and spreading F.U.D. about VB6 setup? Or at least it being reduced to a single point with one sentence: "Copy empty msjava.dll to SysWOW64 and then run setup.exe as usual."
cheers,
</wqw>
>4. Uncheck Tools->OLE/COM object viewer
Isn't that OleView.exe? That's the window title. I always install (and frequently use) that. On my main desktop I have a more recent version from the Win10 SDK but it hasn't changed much if any so unless there's a problem I use the VS6 one instead of go hunting for that. Once in a while I'll need the new one but so rarely it's not even worth updating the shortcut.
I'm actually more versed in C++. I haven't written anything BASIC in over 20 years. VB6 would be the entirely different approach to programming I would have to relearn. That's why I was leaning on the book. I would have to start at page 1.
I installed C#, created, debugged, built & published my installable exe GUI last night in about 2 hours. Mission Complete. It would have taken me days to relearn VB6 enough to complete the task.
A little backstory:
I've been creating GUIs for my personal use with Labview for several years. I don't have the Labview app builder, therefore the huge Labview app needs to be installed and running on any machine utilizing my GUI. That's fine for me.
However, I developed a control system for a friend that didn't want to install Labview on his laptop and asked if I can make the GUI another way. Of course, VB6. With blinders on, the pursuit was on attempting to acquire VB6 without considering any other option. VB is fun, I can get it done. I would enjoy getting reacquainted with my old friend. Hey, VB6 is still available. I can spend 3 or 4 weeks getting back up to speed and have a new (old) tool in my toolbox.
That is what drove me to this forum. While researching the hacks involved to MAYBE get VB6 installed without issue, I discovered C# does what I NEED. C# is now my new tool in my toolbox.
My apologies for the long-winded post
The VS6Installer from this post already takes care of the empty msjava.dll issue. You still need to uncheck the data access components in the setup wizard, that's what most people forget and the installation hangs up on them.
All sorts of reasons someone might prefer C# but I have VS2022 installed too and setting it up is more involved and time consuming than VB6, and really silly to say it's harder to pick up the basics in VB6 in any context, let alone prior vb6 experience and .NET framework programming being so different c++ is usually closer to VB6 (especially older style c++ that keeps to mostly 'C with classes').