-
Apr 1st, 2019, 10:06 PM
#1
Thread Starter
Fanatic Member
VB6 on my new Windows 10 Machine
Hello,
Today, I just got a new Windows 10 computer at work with Office 365 installed.
IT was refusing to install VB6 on it.
I managed to persuade them to give it a shot.
I have a CD copy of Visual Basic 6.0 Professional Edition
I had made some notes from when I last installed VB6 on my Windows 7 machine,
and was going to give to IT people.
Code:
- log onto computer as administrator
- turn off UAC
- disable anti-virus
- run install from CD
- Welcome screen -> next
- EULA -> next
- Product # and USer ID -> fill in CD Key -> next
- What to install -> VB6 Professional Edition
- Installation folder -> accept default
- Welcome and Warning -> continue
- VB6 setup -> Ok
- ACM Setup -> leave as default folder -> Custom option
- SourceSafe -> un-check
- Data Access -> un-check -> continue
- restart if prompted
- MSDN -> decline
- Server Setups dialog -> decline -> next
- Register now -> un-check -> finish
- BEFORE using for 1st time
- right-click Microsoft Visual Basic 6.0 program icon
- select Run As Administrator -> click YES in UAC
To those of you who have already done this, does this seem correct?
I am reading about a MSJAVA.DLL issue when installing on Windows 10.
I don't remember doing anything about that on Windows 7.
Is this truly an issue? (I don't think IT will go for installing a fake file)
I also don't see anything in my notes about Service Pack 6.0
This is important to install?
Can it be installed after VB6 install?
Any other comments/pointers would be appreciated.
-
Apr 1st, 2019, 10:20 PM
#2
Re: VB6 on my new Windows 10 Machine
You should install the VB6 Help files (aka MSDN). I used Oct 2000, as .NET was cluttering up the swamp in later releases.
I stuck with SP5. (But I avoid MS's extra controls/dependencies like the plague)
I believe SP6 was mainly fixing messes with their extra controls/dependencies.
I have only installed VB6 into my XP machine, so not much help on your W10 install problems,
Rob
-
Apr 2nd, 2019, 02:31 AM
#3
Lively Member
Re: VB6 on my new Windows 10 Machine
I followed this http://blog.danbrust.net/2015/09/14/.../#.XKMO2qRw1hE procedure. Seems to work OK except you get an "Unknown Publisher" warning when starting the IDE. I've by no means extensively tested every feature though.
EDIT: Mouse Scrolling doesn't work in the IDE OOB, I had to use X-Mouse Button Control https://www.techworld.com/download/s...-2185-3249244/ to fix this.
Last edited by MikeSW17; Apr 2nd, 2019 at 02:40 AM.
-
Apr 2nd, 2019, 05:50 AM
#4
Re: VB6 on my new Windows 10 Machine
Service Pack 6 is my recommendation. It's the last update, 10+ years ago. To each their own. But in any case, install a relatively recent service pack. So many threads on this forum were resolved simply by installing service packs
-
Apr 2nd, 2019, 06:22 AM
#5
Re: VB6 on my new Windows 10 Machine
Here is the link I used:
https://www.raymond.cc/blog/install-...hine-for-java/
Pay particular attention to the zero byte Java dll step otherwise the installation will just hang up at the end. There are a couple of posts here on VBForums that address this also. In one of them someone created an installer that got good reviews.
Please remember next time...elections matter!
-
Apr 2nd, 2019, 07:53 AM
#6
Re: VB6 on my new Windows 10 Machine
Originally Posted by LaVolpe
Service Pack 6 is my recommendation. It's the last update, 10+ years ago.
Not really. There was an SP6, an SP6a, SP6b, SP6c, and an SP6d from 2013. There may even be a newer one now.
Then you have various patch packages, good and bad. Then the common controls update packages. And... the answer isn't so simple.
-
Apr 2nd, 2019, 08:33 AM
#7
Re: VB6 on my new Windows 10 Machine
Here's a link to the post I made about this.
Here are the things I see that are missing, or wrong: You didn't mention to not install the "ADO and RDS" option; as previously stated, you didn't mention SP6 which is critically important; I totally agree that the MSDN should be installed; you didn't mention possibly having a problem with the msdatsrc.tlb file not being correctly registered; and you didn't mention anything about setting up a couple of Windows shims (and don't run in compatibility mode, as that breaks more than it fixes ... it's necessary to learn about shims and use as few as possible).
Good Luck,
Elroy
EDIT1: Also, if this is a programming/development machine, I can't imagine that you shouldn't demand local administrative rights to that machine. Personally, I do all my development on my own laptop (borrowing monitors from clients when I'm on-site, as I am now), but I haven't been an employee for over 10 years. When I was an employee, I certainly had administrative rights to my workstation, and went through all the credential clearances that anyone in I.T. went through.
Last edited by Elroy; Apr 2nd, 2019 at 08:38 AM.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Apr 3rd, 2019, 02:41 AM
#8
Re: VB6 on my new Windows 10 Machine
Originally Posted by MikeSW17
Wich refer to my VS6 Installer.
Originally Posted by TysonLPrice
Here is the link I used:
https://www.raymond.cc/blog/install-...hine-for-java/
Pay particular attention to the zero byte Java dll step otherwise the installation will just hang up at the end. There are a couple of posts here on VBForums that address this also. In one of them someone created an installer that got good reviews.
Which is what my VS6 Installer does automatically.
Originally Posted by Elroy
Here's a link to the post I made about this.
Attention: the zero-byte Java dll does not longer work with latest builds of Windows 10.
-
Apr 3rd, 2019, 06:54 AM
#9
Re: VB6 on my new Windows 10 Machine
Code:
Attention: the zero-byte Java dll does not longer work with latest builds of Windows 10.
I have to disagree with that...I've installed VB 6.0 over a dozens times on Windows 10, a function of my job, and the early installations hung up without it. I Googled around and cannot find anything to support what you posted. Do you have any specific documentation concerning that?
Last edited by TysonLPrice; Apr 3rd, 2019 at 06:59 AM.
Please remember next time...elections matter!
-
Apr 3rd, 2019, 07:51 AM
#10
Re: VB6 on my new Windows 10 Machine
Attention: the zero-byte Java dll does not longer work with latest builds of Windows 10.
I'd have to (almost) agree with TysonLPrice to disagree with that statement. I have successfully installed VB6 (using similar instructions to those provided by Elroy) WITHOUT creating a zero-byte Java dll on my two Win10 machines. IOW, it is not NECESSARY to create that file (IMHO).
-
Apr 3rd, 2019, 07:54 AM
#11
Re: VB6 on my new Windows 10 Machine
mms_
Can you try installing without it first and let us know?
Please remember next time...elections matter!
-
Apr 3rd, 2019, 09:13 AM
#12
Re: VB6 on my new Windows 10 Machine
I have never created any dummy MSJava runtime DLL to get VB 6.0 to install on any version of Windows. I've always been able to click through the whining dialog about its absence.
-
Apr 3rd, 2019, 09:20 AM
#13
Re: VB6 on my new Windows 10 Machine
It also depends on which version you are installing. I have the Enterprise Edition ISO here downloaded from MSDN and I get no messages related to that MSJava. I do when I use my VS6 Pro CDS.
-
Apr 3rd, 2019, 09:22 AM
#14
Re: VB6 on my new Windows 10 Machine
Originally Posted by DataMiser
It also depends on which version you are installing. I have the Enterprise Edition ISO here downloaded from MSDN and I get no messages related to that MSJava. I do when I use my VS6 Pro CDS.
I don't believe there are any messages about Java...It just hangs up and doesn't install. I agree different versions may come into play.
Please remember next time...elections matter!
-
Apr 3rd, 2019, 09:30 AM
#15
Thread Starter
Fanatic Member
Re: VB6 on my new Windows 10 Machine
Good to know about the MSJava file not being required.
With this not being needed, and not having to do any registry hacks, I don't believe they will object.
I'm at the mercy of the IT dept here as to when it gets installed.
Been 3 days, and they still have not attempted it.
I will let you know how it turns out.
-
Apr 3rd, 2019, 10:38 AM
#16
Fanatic Member
Re: VB6 on my new Windows 10 Machine
If anyone who installed VB6 successfully on Windows 10, you can go to Control Panel, and use Uninstall/Change to see what parts you have installed. From what others have said, the main reason besides Java DLL is the Data Access components, possibly "Jet IISAM Drivers", but I am not sure. I have Windows 7 and VS6 Enterprise from MSDN, and I have the following selected(FS=Fully Selected, PS=Partially Selected):
Code:
[FS] Microsoft Visual Basic 6.0
[FS] Microsoft Visual C++ 6.0
[ ] Microsoft FoxPro 6.0
[ ] Microsoft Visual InterDev 6.0
[FS] Microsoft Visual SourceSafe 6.0
[FS] ActiveX
[PS] Data Access
[FS] ADO, RDS, and OLE DB Providers
[PS] Microsoft ODBC Drivers
[FS] Microsoft SQL Server ODBC Driver
[FS] Microsoft Oracle ODBC Driver
[FS] Microsoft Access ODBC Driver
[ ] Microsoft dBase ODBC Driver
[ ] Microsoft Excel ODBC Driver
[ ] Microsoft FoxPro ODBC Driver
[ ] Microsoft Visual FoxPro ODBC Driver
[ ] Microsoft Paradox ODBC Driver
[ ] Microsoft Text ODBC Driver
[ ] Jet IISAM Drivers
[FS] Remote Data Objects and Controls
[FS] Data Environment
[FS] Enterprise Tools
[FS] Graphics
[PS] Tools
[FS] API Text Viewer
[FS] MFC Trace Utility
[FS] Spy++
[FS] Win32 SDK Tools
[FS] OLE/Com Object Viewer
[ ] Self-installing EXE redistrubutable file
[FS] ActiveX Control Test Container
[FS] VC Error Lookup
Feel free to copy and change to represnt what you installed on your OS.
-
Apr 3rd, 2019, 03:58 PM
#17
Thread Starter
Fanatic Member
-
Apr 3rd, 2019, 04:14 PM
#18
Lively Member
Re: VB6 on my new Windows 10 Machine
Originally Posted by mms_
VB6 successfully installed on my work Windows 10 machine!
No MSDN, as I couldn't find my discs... oh well, they're outdated I guess anyways.
.
Only as out of date as the VB/VS 6 they relate to...
-
Apr 3rd, 2019, 07:53 PM
#19
Re: VB6 on my new Windows 10 Machine
Originally Posted by mms_
VB6 successfully installed on my work Windows 10 machine!
No MSDN, as I couldn't find my discs... oh well, they're outdated I guess anyways.
.
If I were to somehow lose my MSDN discs, and I lost my PCs in one of Aust's frequent house break ins -
1) I would move heaven and earth to get a set (EG pay a small fortune)
2) I would pay a larger fortune to get an early version (Oct 2000), as the subsequent versions progressively got filled/cluttered with VB.NET crap.
-
Apr 4th, 2019, 02:05 AM
#20
Re: VB6 on my new Windows 10 Machine
Originally Posted by TysonLPrice
Code:
Attention: the zero-byte Java dll does not longer work with latest builds of Windows 10.
I have to disagree with that...I've installed VB 6.0 over a dozens times on Windows 10, a function of my job, and the early installations hung up without it. I Googled around and cannot find anything to support what you posted. Do you have any specific documentation concerning that?
This depends ALSO on which SETUP version we use.
Only that distributed by Microsoft from an MSDN Subscription does not require Java.dll, but users with an MSDN subscription already know.
If a user has the problem, then the Java.dll library must be installed.
-
Apr 4th, 2019, 06:43 AM
#21
Thread Starter
Fanatic Member
Re: VB6 on my new Windows 10 Machine
If I were to somehow lose my MSDN discs, and I lost my PCs in one of Aust's frequent house break ins -
1) I would move heaven and earth to get a set (EG pay a small fortune)
2) I would pay a larger fortune to get an early version (Oct 2000), as the subsequent versions progressively got filled/cluttered with VB.NET crap.
I will look again for my MSDN discs this weekend.
If I do find them, can I install these after the fact?
and this post installation will not mess anything up? (with my successful VB6 installation I mean)
-
Apr 4th, 2019, 07:11 AM
#22
Re: VB6 on my new Windows 10 Machine
Good luck...yes, you can install afterwards, and it should not be a problem at all. These, however, are fairly cheap on ebay (around 10 USD)---just make sure the product key is available. (Also, you can get the complete set of VB6 and MSDN on ebay for less than 200 USD.)
-
Apr 4th, 2019, 08:13 AM
#23
Re: VB6 on my new Windows 10 Machine
Yes, I will second what Sam said. Installing the MSDN after-the-fact shouldn't harm anything. It's a completely separate installation, although it will activate the F1 key while in the VB6 IDE.
Also, I, as well, looked at eBay, and it does appear you can find copies of the VB6 MSDN for less than $10. I just searched for visual basic 6.0 msdn. I also did an FTP search and saw a couple of copies, but you'd need to be sure and scan for viruses on anything you got that way.
Personally, even after programming for many decades, I find the MSDN quite valuable, even if just as a brush-up for things.
Good Luck,
Elroy
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Apr 4th, 2019, 09:10 AM
#24
Fanatic Member
Re: VB6 on my new Windows 10 Machine
Besides what others suggested, MSDN Installer doesn't copy over the Samples folder, even when doing full installation. I usually copy them over. Some advanced topics are illustrated by the samples, such as DCOM, but there are many examples on the web, so you might not need them. Also, Microsoft has been changing function information from "Minimum OS" to "Minimum Supported OS", so you wouldn't know if a certain function works on XP or not.
-
Apr 7th, 2019, 12:29 AM
#25
Re: VB6 on my new Windows 10 Machine
Originally Posted by TysonLPrice
I don't believe there are any messages about Java...It just hangs up and doesn't install. I agree different versions may come into play.
The VS pro version did give me the java related message the last time I tried it. VB6 Enterprise edition gives no errors. As of Windows 8 if you do not uncheck some of the data stuff it will hang during install. If you uncheck the proper data related options then it installs without a hitch.
-
Nov 4th, 2023, 10:00 PM
#26
Re: VB6 on my new Windows 10 Machine
In another thread here, I posted a link to a pretty thorough web page instructions for installing VB6.
I today checked that link, and web page no longer exists.
I suspect it is the same article that Tyson mentions above.
But before I realized that (Tyson's link was on this page), I googled and came up with this (which seems extremely thorough) -
https://www.codeproject.com/Articles...dio-on-Windows
I should be attempting to get my VB6 Pro installed into W10 32 bit tomorrow
-
Nov 5th, 2023, 07:27 AM
#27
Re: VB6 on my new Windows 10 Machine
@Bobbles...so you ARE alive! Haven't seen you here in over a year. Moved on to .Net or something else?
Sam I am (as well as Confused at times).
-
Nov 5th, 2023, 07:16 PM
#28
Re: VB6 on my new Windows 10 Machine
Hi Sam,
Heath problems (had poor gut all my life), and a couple of stresses. EG Available housing is non existing in Aus, and after 21 years rental, my owner dies, and the estate administrators were kicking me out.
In another rental now, and gradually getting a wee bit of weight back (50 kilos).
Slightly taller than Bruce Lee, Tom Cruise. My 'fighting weight' used to be 65 kilos
81 and not out,
Rob
-
Nov 5th, 2023, 07:53 PM
#29
Re: VB6 on my new Windows 10 Machine
Sorry to hear this. God's with us all, thank goodness. Wife has Parkinson's...not a fun disease. I've got bad back disks (Motorcycle foolishness couple decades ago).
Glad to see you back here tho....you've always inspired me with your knowledge of VB6.
Sam
Sam I am (as well as Confused at times).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|