¤ Has anyone successfully installed VB6 on Windows 7 64-bit? When I try to
¤ do it using the Visual Studio 6 CDs, the installer wants to install the
¤ Microsoft VM for Java and I'm unable to proceed any further.
Microsoft's version of the Java VM is obsolete and I don't know whether it would run under Windows 7
64-bit WoW. You could try Sun's latest version but I can't say that it would work in its place.
You might want to try installing and running it in Windows VPC.
http://www.microsoft.com/windows/virtual-pc/default.aspx
Paul
~~~~
Microsoft MVP (Visual Basic)
The following is the procedure for XP and Vista, but I am guessing it will
work on Windows 7 also. Create a file named MSJAVA.DLL (it can be 0 bytes
long, the important thing is to create a file with this name) and put it in
your Windows directory. Now install VB6 and you shouldn't be bothered by the
message. Once you have finished installing VB6, just delete that file and
all should be well.

Signature
Rick (MVP - Excel)
> Has anyone successfully installed VB6 on Windows 7 64-bit? When I try to
> do it using the Visual Studio 6 CDs, the installer wants to install the
> Microsoft VM for Java and I'm unable to proceed any further.
>
> AlexB
Alex Balfour - 25 Oct 2009 23:59 GMT
> The following is the procedure for XP and Vista, but I am guessing it will
> work on Windows 7 also. Create a file named MSJAVA.DLL (it can be 0 bytes
> long, the important thing is to create a file with this name) and put it in
> your Windows directory. Now install VB6 and you shouldn't be bothered by the
> message. Once you have finished installing VB6, just delete that file and
> all should be well.
Rick,
Worked like a dream. You have just made my day. Thank you!
Alex
Bill McCarthy - 26 Oct 2009 02:50 GMT
Make sure you do delete the msjava.dll file before windows update prompts
you to update it.
http://msmvps.com/blogs/bill/archive/2004/07/14/10069.aspx
>> The following is the procedure for XP and Vista, but I am guessing it
>> will
[quoted text clipped - 11 lines]
>
> Alex
Paul Clement - 26 Oct 2009 19:48 GMT
¤ The following is the procedure for XP and Vista, but I am guessing it will
¤ work on Windows 7 also. Create a file named MSJAVA.DLL (it can be 0 bytes
¤ long, the important thing is to create a file with this name) and put it in
¤ your Windows directory. Now install VB6 and you shouldn't be bothered by the
¤ message. Once you have finished installing VB6, just delete that file and
¤ all should be well.
Cool tip!
Paul
~~~~
Microsoft MVP (Visual Basic)
JerryK - 29 Dec 2009 13:51 GMT
Great post! many thanks, Rick and those who led me to yr post.
Worked fine on W7-64. Took a very long time "Searching for installed
components", but got there no problem.
Thanks
JerryK
>The following is the procedure for XP and Vista, but I am guessing it will
>work on Windows 7 also. Create a file named MSJAVA.DLL (it can be 0 bytes
[quoted text clipped - 8 lines]
>>
>> AlexB
dagul8000 - 08 Jun 2010 14:43 GMT
Rick
Thank you for this advice i confirmed this.
John Michael
>The following is the procedure for XP and Vista, but I am guessing it will
>work on Windows 7 also. Create a file named MSJAVA.DLL (it can be 0 bytes
[quoted text clipped - 8 lines]
>>
>> AlexB
> Has anyone successfully installed VB6 on Windows 7 64-bit? When I try to
> do it using the Visual Studio 6 CDs, the installer wants to install the
> Microsoft VM for Java and I'm unable to proceed any further.
Erm, I faked MS Java so it wouldn't prompt me to install it again :)
I think I created msjava.dll and a couple of others, but process monitor
should tell you what it is looking for.
I then excluded the rest of visual studio as that does not work on Vista+.
The VB6 component is fine (for me at least)

Signature
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
Dee Earley - 26 Oct 2009 11:55 GMT
>> Has anyone successfully installed VB6 on Windows 7 64-bit? When I try to
>> do it using the Visual Studio 6 CDs, the installer wants to install the
>> Microsoft VM for Java and I'm unable to proceed any further.
>
> Erm, I faked MS Java so it wouldn't prompt me to install it again :)
And I really should read all replies before writing one..

Signature
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems