Has anyone had success with Visual Studio 6 on Windows 7?

后端 未结 15 777
忘掉有多难
忘掉有多难 2020-11-27 16:04

VS6 popped off a series of errors before bombing out completely during install on Windows 7. I specifically need to get VB6 functioning on Windows 7. Anyone having any luck?

15条回答
  •  北海茫月
    2020-11-27 16:27

    I am using vb6 on windows 7 32 bit system for a long time. you will need to install your vb6 with compatibility of xp2.

    Create a 0-byte file in the C:\Windows directory called msjava.dll.

    Don't just install via the Autorun executable; instead browse the Visual Studio 6 CD (or folder), right-click Setup.exe and select Run As Administrator.

    On any Program Compatibility Assistant warnings, click Run Program.

    Step through the setup screens until you're able to choose Custom Setup, then click next.

    On the setup options, install the following items and nothing else: Microsoft Visual Basic 6.0

    ActiveX

    Data Access
    Graphics

    Click continue and the process will start, and (hopefully) eventually complete. Skip the installations of the MSDN CD, BackOffice, VSS and SNA Server, and clear the checkbox for "Register Now". Setup should be complete.

    Download the VB6 Service Pack 6 from http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A8494EDB-2E89-4676-A16A-5C5477CB9713&displaylang=en and install.

    Change the compatibility settings for Visual Basic (to get it to run a little more smoothly under Windows 7) by browsing to C:\Program Files\Microsoft Visual Studio\VB98, right-clicking the VB6.exe file, and selecting properties.

    On the Compatibility tab, check the following:
    Run this program in compatibility mode for Windows XP (Service Pack 3)

    Disable Visual Themes

    Disable Desktop Composition

    Disable display scaling on high DPI settings

    When you start up the IDE, you may get a notification saying that the color scheme has been changed to Windows 7 Basic, but it will be changed back to Aero once you exit. Everything should be working fine at this point!

    Note: when you first run your new install vb6 run it with admin rights and with xp2 compatibility so that your exe can run on any system.

提交回复
热议问题