Visual Studio 6 on Vista

Why would you want to run Visual Studio 6 on Vista? Two reasons. First, because it includes Visual Basic 6.0, the last version not based on .NET. Second, because Visual C++ 6.0 is still widely used to avoid issues with the C runtime library. There is little point in installing the other products in Visual Studio 6.0.

Visual Basic 6.0 is supported on Vista, but Visual Studio 6 is not. One reason is that it includes the Microsoft Java Virtual Machine which Microsoft promised Sun it would withdraw. This is the stated reason why Visual Studio 6.0 is no longer available for download, even for MSDN Universal subscribers. Fortunately I still have some old MSDN DVDs, so I dug these out and ran setup for the Enterprise edition of Visual Studio 6.0, installing on Vista Professional.

I can’t pretend it went smoothly. First there were compatibility warnings, which I ignored. I deselected applications other then Visual C++ and Visual Basic. Then setup appeared to hang on the screen where it detects installation components, and Vista popped up its “Program not responding” dialog. I believe this is just a matter of patience. My tip is to run task manager and see if the ACMSETUP process is taking up CPU time. If it is, give it more time.

So setup completed, but with an error towards the end:

RegCreateKey failed for \Interface\OLEViewerIViewerCLSID. Access is denied

followed by a DLLREgisterServer failure. I was informed that setup had failed, but nevertheless VB 6 and VC++ were installed and seemed to run OK.

Naturally I wanted to apply the service pack – SP5 or SP6. This is where I had the biggest problems. I could run SETUPSP6.EXE, but the install always failed. If I logged the install, I found this entertaining error:

Do not ship. Error message to log function that detects what VS products are installed in what language unable to function.

Hmmm. I Googled to no avail, though I found this thread where several others report the same problem. Then I tried removing Visual Studio 6.0 for a reinstall, but got the same error from add/remove programs. I finally twigged. The problem was that the first install never completed. Although the product was mostly installed, some part of the Microsoft Installer database had not been updated. The error message actually makes sense: the products were not installed.

Therefore I re-ran the original setup. This time I went into the Tools part of custom setup, clicked Change Option, and deselected the OLE/COM object viewer. Setup now completed without error; so too did SP6. Success.

The apps seem to work OK too – so far so good, though I’m resigned to having to use Run as administrator.

Try this at your own risk; as I mentioned above, Visual C++ 6.0 is not supported on Vista; in fact, I don’t think it is supported at all.

 

VN:F [1.9.18_1163]
Rate this post
Rating: 8.5/10 (24 votes cast)
Visual Studio 6 on Vista, 8.5 out of 10 based on 24 ratings

Related posts:

  1. Visual Studio 2005: still needs admin rights on Vista?
  2. Installing XNA Game Studio Express on Vista
  3. More Silverlight, Visual Studio setup hassles
  4. First screenshots of Visual Studio 2010 UI
  5. Performance expert becomes Visual Studio Chief Architect

89 comments to Visual Studio 6 on Vista

  • Erez

    Hello Guys / Tim,

    I know it’s been a while since this thread was active but I truly someone’s still out there…

    I just installed Visual Studio 6 (SP5) on a Vista Enterprise machine. Had some problems but I think it’s set up alright.

    The problem is my VC++ 6 application fails when trying to host an ActiveX.
    I was able to compile it ok, though got a warning message from Vista about the rc.exe (“This program has known compatibility issues” ).

    When I debugged it I saw that my class that derives from CAxDialogImpl fails on its Create() method.
    It worked just fine on XP!

    Is there a known compatibility issue there?

    Some tech info:
    I saw that CAxDialogImpl::Create() (I pass NULL here) calls AtlAxCreateDialogA, which in turn calls CreateDialogIndirectParamA which throws an exception.
    (I cannot catch it – it’s not _com_error)

    Thanks a lot,
    Erez

  • ashwani123

    Visual studio 6.0 C++ does not work effciently on vista and sometimes shows unknown responses…
    the project settings and links varies…..

  • I recommend, for those of you who have not tried it, attempt the following fix if you are getting the java registry error:

    C++ 6.0 Fix: Javasign.dll was unable to register itself in the system registry

  • HeRawKey

    Dear Mr. Tim Andreson

    Thank you for the wonderful tips about this VB 6 bug.

    It help me a lot!
    Thank you!

  • tim. thanks very much.
    it helped a lot.

    Doron,
    Logic & .Net Developer,
    Israel.

  • Bad Mouth

    To install Visual Studio 6.0 correctly on an operating system such as Vista do the following:

    1. Uninstall any previous Visual Studio 6.0 IDE from your system.

    2. Using a registry editor program make sure to remove all Visual Studio 6.0 key folders.
    Note: Just remove any KEY FOLDERS nothing else.

    NOTE: DO NOT install the Visual Studio 6.0 older editions, such as the 98 editions.
    Install only the 2000 Visual Studio 6.0 version, because this version has
    NT/XP support and will run better on Vista once installed correctly.

    3. Insert the Visual Studio 6.0 CD and when asked do not run the setup, just close it.

    4. Click my computer and open the CD directory.
    5. Navigate to the folder “Visual Studio 2000″ or the folder containing the second
    “Setup.exe” file.

    6. Right-Click on the “Setup.exe” file and select properties -> Compatibility TAB.
    7. Select the “Run this program in compatibility mode” Check box and select run as
    Windows 2000. Now select the Check box “Run this program as administrator” and
    click OK button. Now Double click the ICON Setup.exe program.

    8. When a dialog box pops up just click run program.

    9. Follow the instructions to install Visual Studio 6.0, such as CD key and company BLAH!
    10. On the setup option screen click the custom setup radio button.
    11. Select the default program installation directory.

    12. If a dialog box pops up stating “ACMBOOT.EXE” BLAH! BLAH! BLAH! wait for 30 seconds
    to see if you get a message box stating Visual Studio 6.0 BLAH! BLAH! as failed.
    When you get the message box, Click OK button, if not continue to next step.

    13. Click the “Run the program” button on the dialog box.

    14. If you get a message box about Visual Sourcesafe found just click the YES button.

    15. Unselect all applications and components, EXCEPT ‘Microsoft C++, Visual basic,
    ActiveX, Data Access and Tools. You can if you want, select the graphics package as well’
    NOTE: DO NOT modify any of the above selected default components.

    16. Click Continue button and when a dialog box pops up stating Register Environment
    variables click the check box and the OK button.

    17. Let setup run and install Microsoft Visual Studio 6.0.

    18. Do not even bother to install the NT DEBUG symbols they will not work with Vista.

    NOTE:
    For those of you who have not installed Visual Studio 6.0 prior to this installation,
    will be asked to install the Java Virtual Runtime, Just select yes and let it reboot
    your machine. Then perform steps 8 – 18.

    Now we are all most done, we need to install the Visual Studio 6.0 service pack 6.

    19. Extract the Vs6sp6.exe CAB file onto your desktop.
    20. You will need the latest Visual Studio 6.0 Redistribute files.
    This “vc++ redist_x86.exe” CAB file can be found by googling it.
    When you do get it Right-Click on it and select properties -> Details TAB
    to see if it says “Product version 6.00.

    21. Now extract the “vc++ redist_x86.exe” 6.0 Redistribute file, onto your desktop.
    22. Head into the “vc++ redist_x86″ folder and rename it to “vcredist.exe”.
    23. Now Cut/Copy and paste the file to the “Vs6sp6″ service pack 6 folder and when
    asked just overwrite the original.

    24. Now within the “Vs6sp6″ folder find the “setupsp6.exe” file and Perform
    steps 6 – 7 to install.

    You now should have a good installation of the Visual Studio 6.0 on Vista 32bit
    operating system.

    If this is your first time running Visual Studio 6.0 on your machine you may get a
    dialog box stating that this program is not compatible with Vista, just click the
    DO NOT remind me check box.

    I performed soooo many different types of Visual Studio 6.0 installations on Vista
    and the above steps were the best choice. I have created tons of examples and programs
    with Visual Studio 6.0 using the above steps and had NO problems what so ever.

    Although I do like Visual Studio 6.0, the truth is I use it to program my C++ applications
    and then I use DEV C++ to create the final release.

    B.M

  • Carl

    I have been using Visual C++ 6.0 on Vista since Vista came out and had no “real” problems until recently. Now fairly often it hangs when trying to save a file. Usually I hit F7 or F5, but I have taking to just hitting Ctrl-S (Save) and it hangs. Any ideas? Could this be because of some new update to Vista/Java?

    I accidentially purchased 64-bit Vista and anytime there is a bug in my program while debugging, Stop Debugging does not stop the process, so after fixing the bug I can’t link because the EXE file is still open. Exiting the devleopment environment and reentering fixes the problem. I can live with this.

  • bazilevs Triandafilidi

    ———
    PROBLEM SOLVED!!!!!!!!
    **************
    —–Configuration: trial – Win32 Debug——————–
    Compiling Fortran…
    C:\Program Files\Microsoft Visual Studio\Common\MSDEV98\My Projects\trial.f90
    Linking…
    LINK : fatal error LNK1104: cannot open file “Debug/trial.exe”
    Error executing link.exe.

    trial.exe – 1 error(s), 0 warning(s)

    how can i link it!

    Really it works
    when you are creating a new project – just save it not into the default folder,
    but to the location you want for example to ‘My documents’
    And it will work fine))) ………..or I hope so

  • Bill Papadakis

    Dear Sir,

    I am using Compaq Visual Fortran 6.0 under Windows Vista and when I run it trying to create a new file to write my code then I get the message “The application ‘Microsoft (R) Developer Studio’ has stopped working.
    Can you please help me and tell me what to do to make it work?
    sincerely yours,
    Bill Papadakis

  • tim

    @Bill

    I’d be inclined to use a virtual machine running Windows XP if it is problematic.

    Tim

  • Bill

    Dear Tim,
    Thank you very much for your advice.
    I have tried to run it using a virtual machine Windows XP (service pack 3) but I am still having the same problem.
    Do you have anything else to suggest?
    Thank you

  • tim

    @Bill

    Well, if you get the same issue in XP you’ve eliminated Vista as the problem. I don’t know the product so I guess you need to find some assistance from others who do.

    Always check the event viewer – may be some clues there.

    Tim

  • Bill

    Thank you very much Mr Tim

  • In Vista: I ran the installer as administrator, chose Custominstall and checked off OLE Viever under tools. It works.

  • Mr. Long

    How about a dual boot XP and Vista? Install VB6 on XP :p

  • John

    Bad Mouth, Thanks for the info on how to install it on Vista 32.
    I have Vista 64, is the install the same as Vista 32?

    Thanks, John

  • BadMouth

    To John!
    Yes! It is the same, be sure you select the Compatibility Mode
    as 2000. I installed Visual Studio 6.0 on an Xp 64-bit and the
    install ran the same as in the 32-bit operating system.
    However, like all Window operating systems they are unpredictable
    and depends on a lot of factors like CPU, RAM, Security Settings and so on, therefore you may get some other type of errors not listed in my post.
    If you do, do not give up just try another method, this is how I accomplished installing VS on Vista 32-bit by trial and error.

    B.M

  • tokira

    How do I Uninstall Visual studio 6.0 from my computer. I have windows vista and am also get errors from it during start up. I just want to remove it all together but it won’t let me uninstall. :(

  • Nick

    BadMouth, is the “vc++ redist_x86.exe” 6.0 Redistribute file you speak of the file found at this address…
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
    Many thanks,
    Nick

  • We have an error on Vista in our app so wanted to put VB6 IDE on vista to debug the error…. we only have the original VB6 Cd which has only the 98 folders. I found an SP5 cd and it only has the 98 folders too…

    I have my key though…is there any way to get the version with NT support as I get an error trying to isntall this version.

  • Bad Mouth

    Update on installing Visual Studios 6.0

    You peeps will be glad that on Windows 7 Visual studio 6.0 installation is a breeze.
    I did not have any trouble what so ever (with the exception of the popup box stating it has compatibility issues) installing Visual Studios in Windows 7 Ultimate Edition. Therefore, if you have Vista, get rid of it and install Windows 7, because Windows 7 rocks the house :)

    B.M

  • Phil

    Bad Mouth, I have Windows 7 64-bit, and I can’t install Visual Studio 6. I have the same error related to OLE just like in this article. When I try to follow the suggestion to disable OLE object viewer, I can not find it. The Options only has: Microsoft Visual Basic 6.0, Microsoft Visual C++ 6.0, Microsoft Visual InterDev 6.0, ActiveX, Data access, Professional Tools, Grpahics, and Tools. I don’t see any option for OLE as mentioned in the article.

  • Bad Mouth

    Phil:
    On a 64-bit operating system, you will get errors not normally found in a 32-bit operating system.
    As for my posts let me clarify that most of the installations were done on my 32-bit XP/Vista/ Win7 Ultimate operating systems. Two other installations were done on XP\Vista 64-bit operating systems and not on Win7 64-bit operating system.

    However, you can safely skip many 32-bit installation problems on a 64-bit operating system by following these steps:

    1). Right-click the setup execution file and select [Properties].

    2). Click on the [Compatibility] TAB and check the box then select a compatibility mode to run the installation e.g. Windows XP service pack 2.

    3). Check the box [Run this program as administrator] and click the [Apply] button.

    4). Run setup.

    If you experience installation troubles with the selected compatibility mode, retry again and choose another until it runs with no or less errors.

    Please note that you are running a 64-bit operating system and applying patches such as service packs on a 64-bit operating system can hinder your 32-bit installation. When I installed Visual Studios 6.0 on a XP/Vista 64-bit operating system, I did not have the service packs installed prior to me installing Visual Studios. It was after I installed Visual Studios that I installed all operating system patches.

    Good Luck!
    B.M

  • Bad Mouth

    Update for Phil:
    I do not have that option to turn off OLE on all my installations as well. However, I do have OLE/COM object viewer in the Visual Studios 6.0 and runs correctly on all my installations on the operating systems. Therefore, either you have a bad installation of Visual Studio’s 6.0, or you are installing Visual Studio’s incorrectly, or if you do not have FULL administrator rights, which in turn prevent some ActiveX/DLL/COM components from being correctly registered in your operating system. And when I say FULL administrator rights I mean complete full control, since you can have administrator rights but with some restrictions.

    Other than that, either you may have patches in your operating system that prevents Visual Studio’s 6.0 to be installed correctly or you may have a newer Visual Studio’s installation installed on your operating system, which also hinders the old Visual Studio’s 6.0 installation. When installing Visual Studio’s 6.0 with a newer version, be sure to install the oldest version first, then the new one.

    I do not have anything else to say about Visual Studio 6.0 installation, but if it still does not install right for you then you should think about getting a new installation from a co-worker or friend. This ends my posting for this thread.

    Good Luck ALL!
    B.M

  • Don

    I got rid of the javasign.dll error when I installed Visual Studio 6 on Vista by de-selecting the “InterDev” box in the customized list of options. Well, of course I first as was outlined here, disabled under Tools, the OLE viewer. After those two changes everything installed OK. The reboot request popped up after the install, the machine rebooted and gave the option to install the MSDN libraries, and the software install completed. SP6 installed without a hitch as well. Fixed!

  • Don

    There is also this link if anyone needs the InterDev option and wants to try manually installing this DLL. This is not tested by me:
    http://www.dreamincode.net/forums/topic/96146-javasigndll-error/

  • Oliver

    Bad Mouth,

    I followed your steps in installing vb6+sp6 on a Vista32 pc with no problem. Thank you so much for your postings here.

    Now I have a new problem in making MouseWheel Fix work in IDE. It is there (Startup / Loaded) in Add-In Manager. It is there in the registry. And mouse wheel/tilt works on my vb6 application running from IDE. The scroll bars (both horizontal & vertical) in IDE code windows just won’t move by wheel. However, mouse wheel works on Properies window and (Declarations) drop down list.

    Some internet post suggests running cmd as administrator. It does not work either.

    Any ideas?
    Oliver

  • Bad Mouth

    To Oliver:
    Visual Basic 6.0 IDE does not support mouse wheel-scroll, but you can get it to work
    by following the instructions given by Microsoft at this link, be sure to follow the
    instructions as precise.

    http://support.microsoft.com/?id=837910

    Years ago, I was pissed about this issue, because it is a pain trying to move code around visual Basic 6. The above will fix
    your issue.

    Another thing, if you plan to create internet applications that use Visual Basic 6.0 Dynamic controls, you will find that it is not
    allowed in Vista/Win7 systems and you will only get IDE crashes or controls that do not work. Work around for this is to create a template of all the Dynamic HTML controls using an older operating
    system such as Windows 98/Me/2000 and save the template in the following directory:

    C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects

    The above will not work unless you follow my instructions, which are too long to type here, but if you are interested, you can send me an email to my junk mail box:

    broski_joe@yahoo.com

    and with the following heading:

    “Need DHTML Work Around”

    Any emails without the above heading will be ignored.

    I will then send you the instructions when I get time, with the heading of:

    “Visual Basic Dynamic HTML”

    Please note that it will be emailed to you, as a ZIP file and you should only see a Notepad text file, nothing else.

    Also note, that the instructions are for experience Visual Basic 6.0 users, please do not reply to me how to do something, the instructions are easy to follow and I will not reply to simple answers that are given in my instructions.

    B.M

  • Oliver

    Years ago I did http://support.microsoft.com/?id=837910 on XP and it worked well. Same thing tried on Vista32 and could not fix the mouse wheel in VB6 IDE. Then I was trying to use method 2 (installing IntelliPoint 4.12). However, 4.12 was no longer available on download.microsoft.com. Thus I installed IntelliPoint 8.2 instead. Mouse wheel scrolling in VB6 IDE still does not work.

    I know Vista is just an intermediate OS. So don’t waste anymore time on this compatibility issue. I can live with it as long as I keep coding on XP, and test it on Vista.

    Oliver

  • Bad Mouth

    To Oliver:
    Your problem is that you are using mouse software. Do not use any mouse software, unless of course you are a gamer and need all functionality of your mouse, in this case you are better off coding in XP.

    To fix the scrolling issue of the code editor on Vista/Win7 you must do the following steps:

    1. Do not install any mouse software, if so, uninstall it.
    Make sure that your operating system is using ONLY system mouse driver.

    2. Do not run the zip file. You must extract the zip files in the “vb6mousewheel.exe” package, you will have to extract it two-times to get the “VB6IDEMouseWheelAddin.dll” file.

    3. Cut the “VB6IDEMouseWheelAddin.dll” file and paste into the “C:\Windows\System32″ folder.

    4. Click->Start->Run and enter the following command:

    regsvr32 VB6IDEMouseWheelAddin.dll

    5. Start Visual Basic 6.0 and select the Add-In Manager option.

    6. In the Add-In Manager select the “MouseWheel Fix” and select the [Load on Start-up] option.

    7. Exit Visual Basic 6.0 and then rerun it.

    NOTE: Visual Basic 6.0 must have admin rights to run the add-in.

    Done!

    The above works fine for me on Vista and my new Operating system Windows 7. If it does not work for you, then you are doing something wrong.

    B.M

  • Oliver

    B.M.,

    What is the utility software you used to extract files from “vb6mousewheel.exe”?

    I uninstalled both Microsoft IntelliPoint and Logitech SetPoint mouse drivers. But now my Vista lost its wheel tilt capability on all horizontal scroll bars. Those Windows Tilt Messages are generated and sent by SetPoint driver.

    Oliver

  • Bad Mouth

    To Oliver:
    Because you are using the operating system drivers, the tilt wheel feature may not be supported by Vista. On Windows 7 this may be supported, but I can’t guarantee it, because I do not use a mouse with tilt wheel capability. However, check Vista mouse configuration and see if it has the tilt wheel option, again it may not be supported.

    As a programmer, you would rather develop programs that use the basic mouse functionality rather than a mouse that have tons of other buttons and features. I use a LogicTech mouse with three buttons and wheel that does not have a tilt wheel option.

    As for the utility to extract the ZIP files from the “vb6mousewheel.exe” zip, you just need to [right-click] on the file and select the [Extract All] option. XP/Vista/Win7 comes with zip file support already installed.

    NOTE:
    You may have already installed the “VB6IDEMouseWheelAddin.dll” file if you double-clicked it already, check your “C:\Windows\System32” folder and do a search for the file. If it is there, then you will have to proceed from Step 4 above. Just hope that it works, because I had a problem before when I double-clicked the “vb6mousewheel.exe” and it did not work, until I unregistered the DLL and removed the registry key that it installed, you will see the registry key that I am talking about when you extract the files.

    Good Luck!
    B.M

  • Bad Mouth

    To Oliver Update:
    If your system is not setup to extract ZIP or CAB executable files, you can download a trial of WinRAR, which has the ability to extract all types of archives including CAB executable files.

    http://www.win-rar.com/website/index.php?id=start&L=0

    B.M

  • Oliver

    B.M.,

    I see what you mean by extracting two-times. I tried and still no mouse wheel scrolling on IDE editor windows. I even manually removed all *mousewheel* keys with regedit. I think there is something wrong with my Vista32. What I’ll try next is to re-install Vista32 on a blank hard drive, and see what happens. Don’t expect me to do it soon. I am reluctant to spend any time and money on a legacy OS and 4 year-old PC.

    In my opinion, with today’s high resolution digital cameras, panning a picture is easier done by tilting than dragging. It is Microsoft’s mistake not to have the mouse tilt built-in the Win32 Messages.

    Thanks a lot for your effort in helping me on this issue. I’ll keep you posted in the future for any progress.
    Oliver

  • Bad Mouth

    You are right about Microsoft not having the tilt wheel option built into the system considering that Vista been around since 2005. The mouse tilt wheel option can come in handy for graphic and programmers of all types, but Microsoft only thinks about the average mouse user and not so much about us developers.

    Some people would say why bother with Visual Basic, why not go the .NET way. In my opinion, Visual Basic is a very powerful language and it is not really a beginners programming development program. You will be amazed what you can do with Visual Basic and still today, Visual Basic 6.0 is highly used in lots of software development, because you have the option to compile your program into machine language code (native code) rather than P-Code to produce the fastest executable program possible with Visual Basic.

    That is why I love Visual Basic 6.0 and Visual C++ 6.0 because with both of these IDE programs you can easily use Visual Basic code with C++ and vice versa, to produce fast and powerful applications.

    If you plan to install a fresh copy of Vista, be sure not to install any service packs, prior to installing Visual Basic 6.0 or Visual C++ 6.0. I hope that all goes well for you.

    Good luck Oliver!
    B.M

  • Oliver

    Finally, I did a fresh Vista-32 install on a new HDD and motherboard a week ago. Accidentally, I found the cause of mousewheel problem on IDE editor windows this morning. After I replaced the Microsoft wireless mouse 5000 with other Logitech USB mice (either wireless or wired), the mousewheel scrolling worked on IDE. How ironic, Microsoft own mouse driver on Vista has compatibility issue with the “VB6IDEMouseWheelAddin.dll”. Note that the same wireless mouse 5000 has no such issue on Windows XP.

  • Olga

    Hi all. I have a question too…I have a host installation of vista ultimate 64bit and a guest installation (on microsoft virtual pc) of vista home premium 32bit. Is there sth else I should know about installing ms visual studio 6 (I only need visual basic 6)? I can’t run my apps..I get an error saying “Error accessing the system registry”!
    Can anyone help???

  • Bad Mouth

    Well I can tell you that you are receiving that error because you are trying to run the visual basic project without administrator rights.

    You need to realize that Visual Basic 6.0 needs administrator rights to run properly in the Windows environment. If you try to run a project that uses nonstandard Window components such as the following components:

    TabStrip
    ToolBar
    ListView

    Etc… You will receive registry errors. However, for standard Visual Basic components which are the components that you see on the left when you first start Visual Basic 6.0, these components do not need to be registered because they are already registered and used in every Windows from Windows 95 – Windows 8 and are standard across all Windows operating system.

    So if you create a Visual Basic application that uses only the standard components you will be able to run the project as well as the executable with no problems.
    My advice to you is give both the virtual machine and Visual Basic 6.0 IDE administrator rights.
    For example, when I program in any programming language, I give administrator rights to the IDE environment within my administrator account by right-clicking the icons and selecting run this program as administrator. Thereafter, I can log into my guest account and program with no problems.

    B.M

  • logan

    Please help me how to install VB6 for windows7 os….:-(((