VB6 在 Windows 8 上运行吗?
假设vb6不能在Windows 8上运行,因为Windows 8没有附带VB6运行时库,那么是否可以在Windows 8上安装VB6运行时库,然后运行VB6?还是还有其他问题?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
假设vb6不能在Windows 8上运行,因为Windows 8没有附带VB6运行时库,那么是否可以在Windows 8上安装VB6运行时库,然后运行VB6?还是还有其他问题?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(13)
编辑: Microsoft 将支持 VB6 运行时在 Windows 8 中
。截至 2011 年 9 月 13 日,VB6 应用程序仍然可以在 Windows 8 的开发者预览版中运行。
EDIT: Microsoft is going to support the VB6 runtime in Windows 8.
VB6 apps still work in Windows 8 in the Developer Preview, as of September 13th, 2011).. They also run in the Consumer Preview and as stated above, Microsoft are committed to having VB6 just work in Windows 8.
这是一个很难真正回答的问题,但我会尽力提供最好的回答。
我们真的不确定,因为它尚未发布并且可能仅处于开发的早期阶段。也无法预测可能会出现什么样的黑客行为来允许 VB6 应用程序在 Windows 8 上运行。我有相当的信心,社区提出某种解决方法只是时间问题,如果你真的那么关心的话。如果除了纯粹的好奇心之外没有其他原因,我什至可能会自己研究一下。
但是,官方说法是此配置可能不受支持:
还值得考虑的是有关 Windows 8 仅以 64 位版本发布的讨论(与 Server 2008 R2 的情况一样)。由于 VB6 运行时(以及 VB6 编译器创建的所有应用程序)都是 32 位的,因此它们必须在模拟的 32 位层 (WOW) 中运行。某些应用程序在 64 位版本的 Windows 7 中运行时已经遇到问题,而且这个问题可能只会变得更糟。目前 64 位上不支持 IDE版本的 Windows,使得遗留应用程序的持续维护变得更加困难(尽管就其价值而言,我只是将其安装在运行 Server 2008 R2 的开发箱上,没有任何问题)。
This is a very difficult question to truly answer, but I'll try and provide the best response that I can.
We really don't know for sure, seeing as how it has not been released yet and is probably only in the early stages of development. There is also no way to predict what kind of hacks might surface to allow VB6 applications to run on Windows 8. I have a fair bit of confidence that it will be only a matter of time before the community comes up with some sort of workaround, if you're really all that concerned. I will probably even look into it myself, if for no other reason than pure curiosity.
However, the official word is that this configuration will likely not be supported:
It's also worth considering the talk about Windows 8 being released only in a 64-bit version (as is the case with Server 2008 R2). Since the VB6 runtime (and all applications created by the VB6 compiler) are 32-bit, they will have to run in an emulated 32-bit layer (WOW). Some apps have already experienced issues running in 64-bit versions of Windows 7, and this problem may only get worse. The IDE is currently not supported on 64-bit versions of Windows, making continued maintenance of legacy applications only that much more difficult (although for what it's worth, I just installed it on my dev box running Server 2008 R2 without any problems).
Microsoft 自 2012 年 1 月起更新了他们的支持声明。Windows 8 似乎将支持 VB6。
http ://msdn.microsoft.com/en-us/vstudio/ms788708
Microsoft updated their support statement as of January 2012. It appears VB6 will be supported in Windows 8.
http://msdn.microsoft.com/en-us/vstudio/ms788708
来源:MSDN 杂志
http://support.microsoft.com/gp/lifepolicy
Source: MSDN Magazine
http://support.microsoft.com/gp/lifepolicy
它可以在 Windows 8 和 8.1 甚至 Windows 10 上运行
It does work on windows 8 and 8.1 and even on windows 10
通过确保向后兼容性,微软可以得到一切,也没有什么损失。 Visual Studio 将 Interop 宣传为将 Vb6 技术与 .net 集成的一种方式;如果微软删除了这种兼容性,那么它似乎会搬起石头砸自己的脚,因为我认为 Interop 需要 vb6 运行时才能工作。
Microsoft has everything to gain and nothing to lose by insuring backwards compatibility. Visual Studio advertised Interop as a way to integrate Vb6 technology with .net; seems like Microsoft would be shooting itself in the foot if it removed this compatibility as I presume vb6 runtimes are required for Interop to work.
我认为所有 ActiveX 库仍将以与 Windows 7 下实际运行方式相同的方式运行。请记住,Microsoft 表示 Windows 8 将具有“经典 Windows 模式”(与 Windows 7 一样具有桌面、菜单栏等)。
另一个问题是关于ARM系统,我认为会有两种情况:x86程序根本无法运行,或者微软将包含一个模拟层以使用Intel程序(以性能为代价)。
因此,Windows 8 可能不会是 VB6 和所有相关软件的最后期限,但问题肯定会增加,直到我们无法以任何方式使用的那一天。因此,请准备好使用 XP Mode(虚拟 PC)、VirtualBox、VMWare 等软件进行虚拟化和运行 VB6。
I think all ActiveX libraries will still working the same way they actually do under Windows 7. Remember Microsoft says Windows 8 will have a ''classic Windows mode'' (with desktop, menu bar, etc like Windows 7).
Other question is about ARM systems, I think there will be two scenarios: x86 programs will not work at all, or Microsoft will include an emulation layer for use Intel programs (at performance cost).
So Windows 8 will probably not be the deadline for VB6 and all the related software, but problems will increase for sure until the day we can't use in any way. So be prepared for virtualize and run VB6 with software like XP Mode (Virtual PC), VirtualBox, VMWare, etc.
据我所知,它们在 Windows 8 中的工作方式与在 Windows 7 中的工作方式相同 - 他们说 Windows 7 中的所有内容都可以在 Windows 8 中工作(假设硬件相同)。仍然有大量 VB6 应用程序存在,因此它们无缘无故地放弃支持是没有意义的。您可以让 Windows 8 论坛 中的一些人来查看一下,因为他们会的有权访问开发者预览版以外的版本,并且可能能够为您获得一些反馈。
这里还有一篇文章可能对您有帮助:Google 网上论坛帖子
From what I can tell they work just the same in Windows 8 as they do in Windows 7 - they've said that everything in Windows 7 will work in Windows 8 (assuming hardware is the same). There are still a huge number of VB6 apps out there so it makes no sense for them to drop support for no reason. You could get some guys from the Windows 8 forums to check it out, as they will have access to builds other than the Developer Preview and may be able to get some feedback for you.
There's also a post here which may help you: Google Groups Post
Visual Basic 6 适用于 Windows 8、8.1 和 Windows 10。
Visual Basic 6 works on Windows 8 , 8.1 and Windows 10.
我读到您可以将 msvbvm60.dll 放在与 Visual Basic 6 exe 相同的文件夹中,它就可以工作。我没有亲自验证过这一点,当然,在 Windows 8 中也没有验证过。
我正在销售一个带有 20K 行 VB6 代码的实用程序,它只需要拖放部署,无需安装包。所以我对 Windows 8 中的这个问题也很感兴趣。
I've read that the you can place the msvbvm60.dll in the same folder as your Visual Basic 6 exe and it works. I have not personally verified this and not, of course, in Windows 8.
I have an utility I'm selling with 20K lines of VB6 code which only requires a drag and drop deployment with no install package. So I have an intense interest in this problem in Windows 8 as well.
我已经能够在 32 位 Windows 8 Preview 版本上安装 VB6 IDE 并编译一些现有应用程序。我还没有在64位版本上安装成功。
I have been able to install the VB6 IDE on the 32-bit Windows 8 Preview build and compile some existing apps. I haven't yet had success in installing on the 64-bit version.
据我所知,VB6 运行时似乎确实可以工作......但我在 Windows 8 RTM 64 位上安装 IDE 的尝试是一个巨大的失败。我遇到了很多非常严重的错误(似乎有一些错误与 OLE 注册有关),而且安装程序甚至没有正确完成。我将继续使用 XP VM 进行 VB6 开发。
我也会谨慎对待 Windows 8 中的工作。仅仅能够加载和显示普通表单与运行到 SQL Server 的 ADO 连接、加载和播放有很大不同媒体,或进行任何类型的严肃套接字通信。一如既往,彻底测试! :)
编辑:看起来 Microsoft 的支持声明(链接到另一条评论)验证了 Windows 8 目前不支持 IDE。
From what I've seen, the VB6 runtime does seem to work...but my attempts at installing the IDE on Windows 8 RTM 64-bit was a colossal failure. I ran into lots of very major errors (seems like a number had to do with OLE registration) and the installer didn't even finish properly. I'll stick with my XP VM for VB6 development.
I'd also approach cautiously with regard to what does work in Windows 8. Just being able to load and show a plain vanilla form is far different from running an ADO connection to a SQL Server, loading and playing media, or doing any type of serious socket communication. As always, test thoroughly! :)
Edit: Looks like Microsoft's support statement (linked to in another comment) validates that Windows 8 as it stands will not support the IDE.
我有一个大型 VB6 应用程序在 Windows 7 和 Windows 10 上运行了一段时间。进行了一些调整才使其正常工作,但没有任何问题。
I have a large VB6 app running on both windows 7 and windows 10 for a while. Took some tweaking to get it working but no issues at all.