VB6在Windows 7/8/10的重复]安装VB6在Windows 7/8/10的重复]安装(I

2019-05-13 22:46发布

可能重复:
有没有人有与Visual Studio 6成功的Windows 7?
请问VB6 IDE在Windows 7 64位运行?

我一直有在Windows 7安装VB6我意识到问题这是一个传统的IDE和我在网上的研究一直没有太大的帮助,。 每次我试图在Windows 7上安装VB6,除了警告,通知我的兼容性问题,安装运行并未能接近尾声,到安装过程中最终失败。 而当另一个尝试,某些dll文件是所谓不可达。

这些只是一些我已经在实现的解决方案,甚至只是看到一些面包屑的希望参观了几个环节:
- 如何在Windows上安装VB6 7
- 在Windows 7 VB6 64位

有人说之前,“到底为什么要在有微软的V​​isual Studio出来的较新版本的Windows 7安装VB6!”,VB6仍然需要维持和地方已经更新的遗留系统。

所以,问题(S)的,有没有在Windows 7上安装VB6不兼容问题的方法吗? 它是最好安装一个虚拟框和运行在XP VB6的IDE? 或者是有,而我还没有遇到过,可能是适用于这一困境的一些其他手段?

感谢和亲切的问候,

克雷格

Answer 1:

VB6 Installs just fine on Windows 7 (and Windows 8 / Windows 10) with a few caveats.

Here is how to install it:

  • Before proceeding with the installation process below, create a zero-byte file in C:\Windows called MSJAVA.DLL. The setup process will look for this file, and if it doesn't find it, will force an installation of old, old Java, and require a reboot. By creating the zero-byte file, the installation of moldy Java is bypassed, and no reboot will be required.
  • Turn off UAC.
  • Insert Visual Studio 6 CD.
  • Exit from the Autorun setup.
  • Browse to the root folder of the VS6 CD.
  • Right-click SETUP.EXE, select Run As Administrator.
  • On this and other Program Compatibility Assistant warnings, click Run Program.
  • Click Next.
  • Click "I accept agreement", then Next.
  • Enter name and company information, click Next.
  • Select Custom Setup, click Next.
  • Click Continue, then Ok.
  • Setup will "think to itself" for about 2 minutes. Processing can be verified by starting Task Manager, and checking the CPU usage of ACMSETUP.EXE.
  • On the options list, select the following:
    • Microsoft Visual Basic 6.0
    • ActiveX
    • Data Access
    • Graphics
    • All other options should be unchecked.
  • Click Continue, setup will continue.
  • Finally, a successful completion dialog will appear, at which click Ok. At this point, Visual Basic 6 is installed.
  • If you do not have the MSDN CD, clear the checkbox on the next dialog, and click next. You'll be warned of the lack of MSDN, but just click Yes to accept.
  • Click Next to skip the installation of Installshield. This is a really old version you don't want anyway.
  • Click Next again to skip the installation of BackOffice, VSS, and SNA Server. Not needed!
  • On the next dialog, clear the checkbox for "Register Now", and click Finish.
  • The wizard will exit, and you're done. You can find VB6 under Start, All Programs, Microsoft Visual Studio 6. Enjoy!
  • Turn On UAC again

  • You might notice after successfully installing VB6 on Windows 7 that working in the IDE is a bit, well, sluggish. For example, resizing objects on a form is a real pain.
  • After installing VB6, you'll want to change the compatibility settings for the IDE executable.
  • Using Windows Explorer, browse the location where you installed VB6. By default, the path is C:\Program Files\Microsoft Visual Studio\VB98\
  • Right click the VB6.exe program file, and select properties from the context menu.
  • Click on the Compatibility tab.
  • Place a check in each of these checkboxes:
  • 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
    • If you have UAC turned on, it is probably advisable to check the 'Run this program as an Administrator' box

After changing these settings, fire up the IDE, and things should be back to normal, and the IDE is no longer sluggish.

Edit: Updated dead link to point to a different page with the same instructions

Edit: Updated the answer with the actual instructions in the post as the link kept dying



Answer 2:

我已经安装,并在Windows 7上使用VB6的传统项目多次。

我做了什么,并在任何问题从来没有来,是安装VB6,忽略错误,然后继续安装最新的服务包,目前SP6。

这里下载: http://www.microsoft.com/en-us/download/details.aspx?id=5721

奖金:另外,一旦你安装它,并认识到滚动不工作,请使用以下: http://www.joebott.com/vb6scrollwheel.htm



Answer 3:

感谢大家对你的答复此事。 看来,我有UAC上,也没有个人电脑提供了适当的权限:P。

总之我会后,其他人可能是指,如果他们遇到此链接的链接(由您所有建议)。

  • 请问VB6 IDE运行在Windows 7 64位?
  • 有没有人有与Visual Studio 6成功的Windows 7?
  • 在Windows上安装VB6 7

谢谢你ericosg对于可能帮助过的链接。

再次感谢大家对你的精辟的指导意见是极大的赞赏:d



文章来源: Installation of VB6 on Windows 7 / 8 / 10 [duplicate]