简体   繁体   English

如何在Windows 8.1 x64上安装VB6 SP6?

[英]How to install VB6 SP6 on Windows 8.1 x64?

Need to support some old projects directly in the newest OS, not in a virtual machine. 需要直接在最新的操作系统中支持一些旧项目,而不是在虚拟机中。

I've installed VB6 from the VS6 disk #1 successfully, but I cannot install the SP6 for this development environment. 我已成功从VS6磁盘#1安装了VB6,但我无法为此开发环境安装SP6。 When I launch it, an information window that informs me about the installation progress appears for some milliseconds, but the required files (ADVPACK.DLL, msvbvm60.dll, ...) aren't updated in the system folder. 当我启动它时,会在几毫秒内显示一个信息窗口,告知我安装进度,但所需的文件(ADVPACK.DLL,msvbvm60.dll,...)不会在系统文件夹中更新。 The About dialog in VB6 IDE also proves that - I do not see "SP6" anywhere in it. VB6 IDE中的About对话框也证明了 - 我在其中的任何地方都看不到“SP6”。

How to install the SERVICE PACK 6 (not the VB IDE itself) in this OS? 如何在此操作系统中安装SERVICE PACK 6(不是VB IDE本身)?

Solved my "problem" - very strange why I couldn't figure out what files I needed and what I should have done... 解决了我的“问题” - 非常奇怪为什么我无法弄清楚我需要哪些文件以及我应该做些什么...

Downloaded and unpacked this (Vs6sp6.exe, I have only VB6 installed): 下载并解压缩这个(Vs6sp6.exe,我只安装了VB6):

Service Pack 6 for Visual Basic 6.0 适用于Visual Basic 6.0的Service Pack 6
http://www.microsoft.com/en-us/download/details.aspx?id=5721 http://www.microsoft.com/en-us/download/details.aspx?id=5721

Then launched setupsp6.exe with the admin rights explicitly - and it installed the SP6 without any problems. 然后显式启动了具有管理权限的setupsp6.exe - 它安装了SP6没有任何问题。

Visual Studio 6 + VB6 SP1 Installation Visual Studio 6 + VB6 SP1安装

  1. Ensure UAC has been turned off. 确保UAC已关闭。
  2. Ensure your user has administrative rights on the computer. 确保您的用户拥有计算机的管理权限。
  3. Run the Setup.exe file in the Visual Studio Installer. 在Visual Studio安装程序中运行Setup.exe文件。
  4. “Run the program without getting help” when the error “This program has compatibility issues”. 当错误“此程序存在兼容性问题”时,“运行程序时无需获得帮助”。
  5. Click Next, Accept the Agreement and click Next. 单击下一步,接受协议,然后单击下一步。
  6. Enter your software key, name and company name. 输入您的软件密钥,名称和公司名称。 Click Next. 点击下一步。
  7. Update Microsoft Virtual Machine for Java. 更新Microsoft Virtual Machine for Java。
  8. “Run the program without getting help” when the error “This program has compatibility issues”. 当错误“此程序存在兼容性问题”时,“运行程序时无需获得帮助”。 Note message shown twice. 注意消息显示两次。
  9. Say “Yes” to reboot the system. 说“是”重启系统。
  10. On start up the setup continues to run. 启动时,设置继续运行。
  11. “Run the program without getting help” “无需帮助即可运行该程序”
  12. Start Page shown. 显示起始页面。 Click on Desktop. 单击桌面。
  13. “Run the program without getting help” “无需帮助即可运行该程序”
  14. Visual Studio 6.0 Enterprise Edition shown with options “Custom, Products or Server Application”. Visual Studio 6.0 Enterprise Edition显示选项“自定义,产品或服务器应用程序”。
  15. At this point click “Exit” on the installer and confirm with “Yes” otherwise an error will be shown if you continue. 此时单击安装程序上的“退出”并单击“是”确认,否则如果继续,将显示错误。
  16. Run the Setup.exe file in the Visual Studio Installer. 在Visual Studio安装程序中运行Setup.exe文件。
  17. “Run the program without getting help” “无需帮助即可运行该程序”
  18. Click Next and Accept the Agreement and click Next 单击下一步并接受协议,然后单击下一步
  19. Enter your software key, name and company name. 输入您的软件密钥,名称和公司名称。 Click Next. 点击下一步。
  20. Select Custom and click Next 选择Custom,然后单击Next
  21. Installation folder click next 安装文件夹单击下一步
  22. “Run the program without getting help” “无需帮助即可运行该程序”
  23. Click “Continue”. 点击“继续”。
  24. Product ID click “Ok” 产品ID点击“确定”
  25. Tools -> Change Options -> OLE/Com Object Viewer, Uncheck and click OK. 工具 - >更改选项 - > OLE / Com对象查看器,取消选中并单击“确定”。
  26. Enterprise Tools -> Change Options -> Visual Studio Analyzer, Uncheck and click OK. 企业工具 - >更改选项 - > Visual Studio Analyzer,取消选中并单击“确定”。
  27. Data Access -> Change Options -> ADO, RDS and OLE DB Providers, Uncheck. 数据访问 - >更改选项 - > ADO,RDS和OLE DB提供程序,取消选中。
  28. At this point it warns saying the component is essential. 在这一点上,它警告称该组件是必不可少的。 Click OK and OK again. 单击确定再次单击确定。
  29. Click continue. 单击继续。
  30. Say Yes to register environment variables. 说是,注册环境变量。
  31. Say Yes to VSS DB format. 对VSS DB格式说“是”。
  32. Install box with “Destination File:” should appear. 应出现带有“目标文件:”的安装框。
  33. Setup is updating your system message box should appear. 安装程序正在更新系统消息框应该出现。
  34. Click OK to Windows NT Debug Symbols. 单击确定以Windows NT调试符号。
  35. Click Restart Windows. 单击重新启动Windows。
  36. On start up the setup continues to run and loads APEMREG.exe. 启动时,安装程​​序继续运行并加载APEMREG.exe。
  37. Install using compatibly settings. 使用兼容设置进行安装。
  38. “Run the program without getting help” “无需帮助即可运行该程序”
  39. Untick install MSDN. Untick安装MSDN。 Click Next and yes to confirm. 单击下一步,然后单击确定。
  40. Select Nothing and click Next. 选择Nothing,然后单击Next。
  41. Select Nothing and click next. 选择Nothing,然后单击下一步。
  42. Untick Register and click finish. 取消注册并单击完成。 SP6 Installation SP6安装
  43. Run setupsp6.exe 运行setupsp6.exe
  44. Click Continue. 单击继续。
  45. Click I Agree. 点击我同意。
  46. Setup Successful click OK. 设置成功单击确定。

Read more: http://www.fortypoundhead.com/showcontent.asp?artid=23916#ixzz3i6JHcNMg 阅读更多: http//www.fortypoundhead.com/showcontent.asp?artid = 23916 #ixzz3i6JHcNMg

How To Install Visual Basic 6 (VB6) in Windows 10 如何在Windows 10中安装Visual Basic 6(VB6)

Get your system prepared 准备你的系统

There is a need to prepare a file MSJAVA.DLL in your system directories so that the installation of VB6 could proceed. 需要在系统目录中准备文件MSJAVA.DLL,以便可以继续安装VB6。 In terms of doing this, just get the installer VBPreInstall.exe and execute the installer. 在执行此操作方面,只需获取安装程序VBPreInstall.exe并执行安装程序。

Install VB6 and SP6 安装VB6和SP6

After getting MSJAVA.DLL ready, you can launch the Visual Basic 6 setup.exe file with administrator privilege to start the installation. 准备好MSJAVA.DLL后,可以启动具有管理员权限的Visual Basic 6 setup.exe文件以启动安装。

  1. Accept agreement, product key 接受协议,产品密钥
  2. Enter name and company information, click Next . 输入名称和公司信息,单击“ 下一步”
  3. Select Custom Setup , click Next. 选择Custom Setup ,单击Next。
  4. Click Next , wait for another windows pop up, click Continue , then Ok. 单击下一步 ,等待弹出其他窗口,单击继续 ,然后单击确定。
  5. Setup will “think to itself” for about 2 minutes. 安装程序将“思考自己”约2分钟。 Processing can be verified by starting Task Manager, and checking the CPU usage of ACMSETUP.EXE. 可以通过启动任务管理器并检查ACMSETUP.EXE的CPU使用情况来验证处理。
  6. On the options list, select the following: Microsoft Visual Basic 6.0 ActiveX Data Access Graphics All other options should be unchecked. 在选项列表中,选择以下内容:Microsoft Visual Basic 6.0 ActiveX数据访问图形应取消选中所有其他选项。
  7. When you select 'Data Access' , you need to click the Change Option button. 选择“数据访问”时 ,需要单击“ 更改选项”按钮。

  8. You will then get another list of components with only 5 items. 然后,您将获得另一个仅包含5个项目的组件列表。 Select the first option “ADO, RDS, and OLE DB Providers” and click the Change Option button. 选择第一个选项“ADO,RDS和OLE DB提供程序”,然后单击“ 更改选项”按钮。

  9. Now you'll get another list of components that belongs to the ADO, RDS and OLE DB Providers. 现在,您将获得属于ADO,RDS和OLE DB提供程序的另一个组件列表。 Simply uncheck the first option “ADO and RDS” and click OK. 只需取消选中第一个选项“ADO和RDS”,然后单击“确定”。

  10. You should get a warning that this component is an essential part of the application and the application will not run properly if it is not installed. 您应该收到一条警告,指出此组件是应用程序的重要组成部分,如果未安装该应用程序,则该应用程序将无法正常运行。 You can ignore that warning popup by clicking OK and proceeding with the installation. 您可以通过单击“ 确定”并继续安装来忽略该警告弹出窗口。 The VB6 installation setup should now complete successfully without problems. VB6安装设置现在应该没有问题地成功完成。

  11. Uncheck MSDN setting 取消选中 MSDN设置
  12. Click Next to skip the installation of Installshield. 单击“ 下一步”跳过Installshield的安装。 This is a really old version you don't want anyway. 这是一个你不想要的真正旧版本。
  13. Click Next again to skip the installation of BackOffice, VSS, and SNA Server. 再次单击“ 下一步”以跳过BackOffice,VSS和SNA Server的安装。 Not needed! 不需要!
  14. On the next dialog, uncheck the checkbox for “Register Now”, and click Finish. 在下一个对话框中, 取消选中“立即注册”复选框,然后单击“完成”。
  15. The wizard will exit, and you're done. 向导将退出,您就完成了。 You can find VB6 under Start, All Programs, Microsoft Visual Studio 6. Enjoy! 你可以在开始,所有程序,Microsoft Visual Studio 6下找到VB6。享受!

Install VB6 SP6 安装VB6 SP6

Install vb6 sp6 by navigating to VbSp6, run setupsp6.exe as administrator with default settings. 通过导航到VbSp6安装vb6 sp6,以管理员身份运行setupsp6.exe并使用默认设置。

There is an installer to simplify the installation of the VB6 programming IDE on Windows 7, 8 and 10 which has now had over 25,000 downloads. 有一个安装程序可以简化Windows 7,8和10上VB6编程IDE的安装,现在已经有超过25,000次下载。 This includes Service Pack 6 这包括Service Pack 6

VB6 programming IDE installer VB6编程IDE安装程序

I've tried both methods here on Windows 8.1 Update 2. At first the symptom had been the same as the OP, except that I was doing exactly what the OP did as his solution -- extracting the files and running Vs6sp6.exe. 我在Windows 8.1 Update 2上尝试了这两种方法。首先,症状与OP相同,只是我正在做OP所做的解决方案 - 解压缩文件并运行Vs6sp6.exe。

So I tried the other solution, installing MSDN. 所以我尝试了其他解决方案,安装MSDN。 After MSDN installed, I tried SP6 again. 安装MSDN后,我再次尝试了SP6。 This time, it tells me it can't install because it can't find any VS6 products installed. 这次,它告诉我它无法安装,因为它找不到任何安装的VS6产品。 But VB6 (without SP) still starts up fine. 但VB6(没有SP)仍然可以正常启动。 Also MSDN starts up normally. MSDN也正常启动。

Any suggestions? 有什么建议么? If I have to run it in a VM I will; 如果我必须在VM中运行它,我会; I already have Windows XP on a Hyper-V VM for the original early 90's Oxford English Dictionary. 对于90年代早期的牛津英语词典,我已经在Hyper-V VM上安装了Windows XP。 But it would be a lot more convenient if I could get it working directly in 8.1. 但如果我能直接在8.1中工作,那将会更方便。

BTW I've been running it fine in Windows 7 for years. BTW我已经在Windows 7中运行良好多年了。 There are some hoops to go through to get it installed, and it changes the screen when it starts and stops, but overall not bad at all. 有一些环节可以安装它,它会在启动和停止时更改屏幕,但总体上还不错。

Follow these three simple steps: 请遵循以下三个简单步骤:

  1. Install VB6 first 首先安装VB6
  2. Install MSDN complete 安装MSDN完成
  3. Install VB6 SP6 only after installation of MSDN 仅在安装MSDN后安装VB6 SP6

You will be able to install VB6 SP6 successfully. 您将能够成功安装VB6 SP6。

I have also found one interesting article that describes how to install VB6 in Windows 10 in the Raimond.CC Blog: 我还发现了一篇有趣的文章,描述了如何在Raimond.CC博客中在Windows 10中安装VB6:

How To Install Visual Basic 6 (VB6) in Windows 10 如何在Windows 10中安装Visual Basic 6(VB6)

https://www.raymond.cc/blog/install-visual-basic-6-vb6-in-windows-7-without-microsoft-virtual-machine-for-java/ https://www.raymond.cc/blog/install-visual-basic-6-vb6-in-windows-7-without-microsoft-virtual-machine-for-java/

As you can see from the title, the author gives us an advice how to avoid installing the needless VM for Java. 正如您从标题中看到的那样,作者向我们提供了如何避免为Java安装不必要的VM的建议。 Another useful advice in this article allows us to prevent “Setup is updating your system…” progress from getting stuck. 本文中另一个有用的建议允许我们阻止“安装程序正在更新您的系统...”从卡住的进度。

Read this article. 阅读这篇文章。 Perhaps, it will help to solve problems with installing VB6 in your OS. 也许,它将有助于解决在操作系统中安装VB6的问题。

While you can run VB6 in Windows 8.1 it's not going to do well and there will be any number of issues as you've discovered. 虽然你可以在Windows 8.1中运行VB6,但它不会很好,并且你会发现任何数量的问题。

An alternative option is to create a Virtual Machine using Hyper-V Manager which is readily available on Windows 8 , install Windows XP*, Visual Studio 6, etc. Then remote desktop to your virtual machine and you're good to go. 另一种选择是使用Hyper-V管理器创建虚拟机,该管理器可在Windows 8上轻松使用 ,安装Windows XP *,Visual Studio 6等。然后远程桌面到您的虚拟机,您就可以开始使用了。

Also, when windows 9, 10 and 11 arrive, your virtual machine can be transferred over to them or to a new PC all without breaking your VB6 development environment. 此外,当Windows 9,10和11到达时,您的虚拟机可以转移到它们或新PC上,而不会破坏您的VB6开发环境。

*Or Windows 7 32 bit if you have to but XP is better for VB6 *或Windows 7 32位,如果你必须但XP更好的VB6

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM