无法再找到 Visual Basic 5 的服务包

发布于 2024-09-09 04:29:02 字数 260 浏览 10 评论 0原文

从 Visual Basic 5 首次发布到几年前,我一直在使用它。

我在购买的每台新笔记本电脑上都重新安装了它,并每次都下载了服务包。我认为我需要的是 VB5 SP2。

但我已经两年没有碰过它了,现在只是将它安装在笔记本电脑上来修改应用程序。但是,Microsoft 似乎不再提供该服务包下载

打开我的项目时,我会收到每个帧的重复消息,告诉我“没有在开发人员模式下使用该控件的许可证”。

这是什么错误以及如何获取服务包?

I have been using Visual Basic 5 since it was first released until a couple of years ago.

I re-installed it on each new laptop I bought and downloaded the service pack each time. I think it is SP2 for VB5 I need.

But having not touched it in two years I have now just installed it on a laptop to modify an app. However, it seems that Microsoft no longer offers the service pack for download.

And on opening my projects i get repeated messages for each frame telling me I "don't have the license to use the control in developer mode".

What is this error and how do I get the service packs?

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

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

发布评论

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

评论(2

っ左 2024-09-16 04:29:02

如果移植到 VB6,则不必进行太多更改。

如果你移植到任何版本的VB.Net,你都会发现变化相当极端。自动化工具会尝试为您完成一些工作,但根据代码的编写方式以及使用的 VB5 功能,您可能会发现需要手动修复所做的大部分更改。

最大的问题是某些 VB5 功能在 VB.Net 中没有直接对应的功能。您的任何表单都使用控制数组吗?您可以在 VB.Net 中做一些至少模糊相似的事情,但转换工具不知道这一点,因此转换它们必须完全手动。

仅供参考,Microsoft 服务包有两种形式。正常的更新过程会确定您的计算机需要哪些补丁,然后下载并安装它们。但还有一个“管理”版本,可以在一个包中下载可能需要的所有更改。该软件包不会自动安装 - 下载完成后,您必须手动启动它运行。管理版本适用于系统管理员,他们可能必须将相同的补丁应用于网络上的数十/数百/数千台计算机 - 您不必一遍又一遍地下载相同的数据。

当然,管理服务包不会帮助您使用 VB5(除非您找到下载了 VB5 服务包并保留它们的人)。但是,如果您最终使用了新版本的 Visual Studio(或 VB),并且您认为在 Microsoft 支持结束后 6 个月左右的时间里您可能会继续使用它们,那么您可能需要加入下载管理服务包并将其存档在某个地方的习惯。它可能会防止将来出现类似问题。

If you port to VB6, you shouldn't have to make very many changes.

If you port to any version of VB.Net, you will find that the changes are rather extreme. An automated tool will try to do some of the work for you, but depending on how your code was written and what VB5 features you used, you will probably find that you manually need to fix up most of the changes that were made.

The biggest problem is that some of the VB5 features don't have direct equivalents in VB.Net. Do any of your forms use control arrays? You CAN do something at least vaguely similar in VB.Net, but the conversion tool doesn't know about that, so converting them will have to be completely manual.

FYI, Microsoft service packs are available in two forms. The normal update process figures out what patches are needed on your computer, then downloads them and installs them. But there's also an "administrative" version that downloads every change that MIGHT be needed, in one package. That package doesn't automatically install - when the download is complete, you have to manually start it running. The admin version is intended for system administrators, who might have to apply the same patch to dozens / hundreds / thousands of computers on a network - you shouldn't have to download the same data over and over.

The admin service packs won't help you with VB5, of course (unless you find someone that downloaded the VB5 service packs and held on to them). But if you end up going to a new version of Visual Studio (or VB), and you think that it's likely that you'll keep using them more than 6 months or so past the end of Microsoft support, you might want to get in the habit of downloading the admin service packs and archiving them somewhere. It might prevent problems like this in the future.

爱要勇敢去追 2024-09-16 04:29:02

Microsoft 知识库中引用了许可问题
http://support.microsoft.com/kb/181854

已提供修复程序,可从同一个地方。

注意:如果您运行的是 Windows 7,则需要在提升模式下运行 VisualBasic。

The licensing issue is referenced on Microsoft knowledge base
http://support.microsoft.com/kb/181854

A fix is available, downloadable from the same place.

Note : if you are running Windows Seven, you need to run VisualBasic in elevated mode.

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