VB6 在 Windows 8 上运行吗?

发布于 2024-10-03 06:16:38 字数 95 浏览 4 评论 0 原文

假设vb6不能在Windows 8上运行,因为Windows 8没有附带VB6运行时库,那么是否可以在Windows 8上安装VB6运行时库,然后运行VB6?还是还有其他问题?

Assuming that vb6 does not run on Windows 8 because the VB6 run time libraries are not shipped with Windows 8, would it not be possible to install the VB6 run time library on Windows 8 and then then run VB6? Or is there another problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(13

歌枕肩 2024-10-10 06:16:38

编辑: 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).VB6 running in developer preview. They also run in the Consumer Preview and as stated above, Microsoft are committed to having VB6 just work in Windows 8.

原野 2024-10-10 06:16:38

这是一个很难真正回答的问题,但我会尽力提供最好的回答。

我们真的不确定,因为它尚未发布并且可能仅处于开发的早期阶段。也无法预测可能会出现什么样的黑客行为来允许 VB6 应用程序在 Windows 8 上运行。我有相当的信心,社区提出某种解决方法只是时间问题,如果你真的那么关心的话。如果除了纯粹的好奇心之外没有其他原因,我什至可能会自己研究一下。

但是,官方说法是此配置可能不受支持:

...没有计划在 Windows 7 之外的未来 Windows 版本中包含 VB6 运行时。

还值得考虑的是有关 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:

...there are no plans to include VB6 runtime in future versions of Windows beyond Windows 7.

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).

单身情人 2024-10-10 06:16:38

Microsoft 自 2012 年 1 月起更新了他们的支持声明。Windows 8 似乎将支持 VB6。

VB6 运行时将在 Windows 8 操作系统的生命周期内发布并受到支持。 Visual Basic 6.0 运行时文件仍然仅是 32 位的,并且所有组件都必须托管在 32 位应用程序进程中。开发人员可以认为 Windows 8 的支持情况与 Windows 7 相同。

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.

VB6 runtime will ship and will be supported in Windows 8 for the lifetime of the OS. Visual Basic 6.0 runtime files continue to be 32-bit only and all components must be hosted in 32-bit application processes. Developers can think of the support story for Windows 8 being the same as it is for Windows 7.

http://msdn.microsoft.com/en-us/vstudio/ms788708

许一世地老天荒 2024-10-10 06:16:38

微软上个月宣布将延长“It Just Works”的期限
在整个生命周期内兼容 Visual Basic 6 应用程序
Windows Vista、Windows Server 2008、Windows 7 和(最重要的)
Windows 8。正如 Visual Basic 6.0 资源中心所述,“
核心 Visual Basic 6.0 运行时将在整个生命周期内得到支持”
这些操作系统。该承诺包括五年
主流支持之后是五年的扩展支持。

Karl Peterson 是一名 VB6 程序员,曾是
Visual Studio 杂志和 Visual Basic 编程杂志(他在其中
撰写流行的 VB Corner 专栏等,直至 2010 年)。
彼得森指出,这一公告正式确定了
VB6 运行时已经过了他预计的退休时间。这个事实可能有
对大量使用 VB6 的企业的影响
代码,Peterson 称之为“2020 年代的 COBOL”。

“经典 VB 社区中的许多人都是从 Windows 之前的版本开始的
几天了,现在即将退休,”
他说。 “许多机构都丧失了这种制度知识
企业只会进一步巩固功能代码库。”

Peterson 表示 Microsoft 的决定反映了 VB6 的采用这一事实
超越了“业余爱好者或共享软件类型的作者”
企业里的游击队员。”他说微软可能会被转移到
扩展支持,因为企业仍然维护真实的 VB6 代码
值,并且无法立即迁移。

来源:MSDN 杂志

http://support.microsoft.com/gp/lifepolicy

Microsoft last month announced that it was extending “It Just Works”
compatibility for Visual Basic 6 applications for the full lifetime of
Windows Vista, Windows Server 2008, Windows 7 and (most importantly)
Windows 8. As described on the Visual Basic 6.0 Resource Center, “the
core Visual Basic 6.0 runtime will be supported for the full lifetime”
of these operating systems. The commitment comprises five years of
mainstream support followed by five years of extended support.

Karl Peterson is a VB6 programmer and formerly a longtime columnist at
Visual Studio Magazine and Visual Basic Programming Journal (where he
wrote the popular VB Corner column, among others, until 2010).
Peterson notes that this announcement officially puts the lifetime of
the VB6 runtime past his projected retirement. And that fact may have
implications for enterprises sitting on large amounts of working VB6
code, which Peterson calls “the COBOL of the 2020s.”

“Many in the Classic VB community started out back in the pre-Windows
days, and are now at the point of seeing retirement on the horizon,”
he says. “And the loss of that institutional knowledge at many
enterprises will only further entrench the functional code base.”

Peterson says Microsoft’s decision reflects the fact that VB6 adoption
went beyond the “hobbyist or shareware type author who was the
guerilla in the enterprise.” He says Microsoft was likely moved to
extend support because businesses still maintain VB6 code of real
value, and are in no position to immediately migrate off it.

Source: MSDN Magazine

http://support.microsoft.com/gp/lifepolicy

旧人 2024-10-10 06:16:38

它可以在 Windows 8 和 8.1 甚至 Windows 10 上运行

It does work on windows 8 and 8.1 and even on windows 10

笑脸一如从前 2024-10-10 06:16:38

通过确保向后兼容性,微软可以得到一切,也没有什么损失。 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.

情话难免假 2024-10-10 06:16:38

我认为所有 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.

吲‖鸣 2024-10-10 06:16:38

据我所知,它们在 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

若沐 2024-10-10 06:16:38

Visual Basic 6 适用于 Windows 8、8.1 和 Windows 10。

Visual Basic 6 works on Windows 8 , 8.1 and Windows 10.

衣神在巴黎 2024-10-10 06:16:38

我读到您可以将 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.

给不了的爱 2024-10-10 06:16:38

我已经能够在 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.

葮薆情 2024-10-10 06:16:38

据我所知,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.

莫相离 2024-10-10 06:16:38

我有一个大型 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文