Win 7 好的VB6 开发环境?

编程入门 行业动态 更新时间:2024-10-27 14:23:24
本文介绍了Win 7 好的VB6 开发环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我的笔记本电脑上装有 Win 7,我想在旅行时将其用作 VB6 开发环境.

有什么理由不这样做吗?目前主要针对XP系统.

解决方案

有什么理由不这样做吗?

不是真的,不是.尽管 VB 6 IDE 官方不支持并且自 2008 年以来一直Windows 和 VB 团队加班以确保它在 Windows 7 和 Server 2008 上正常工作.

我曾经在运行 Server 2008 R2 64 位的旧开发机器上安装了 VB 6,并且可以亲自证明我在使用这种配置时没有遇到任何问题.

老实说,在 Windows 7 中进行开发可能会让您成为更好的开发人员.UAC 会主动阻止您做您一开始不应该做的事情,例如将数据保存在 Program Files 文件夹中.如果您在测试应用程序时遇到此类问题,请不要责怪 VB 6 或 Windows — 真正的问题在于您的代码,而问题在于它一开始就可以工作.借此机会修复那些悬而未决的问题(或至少记下这些问题,以便他们安排即将进行的修复),即使它无论如何都会在 XP 上正常工作.>

在紧要关头,您始终可以通过右键单击其快捷方式来强制应用程序以管理权限运行和/或启用 XP 兼容模式.但我当然不建议将其作为一般做法.

I have Win 7 on my laptop and I would like to use it as a VB6 dev environment when travelling.

Are there any reasons not to do this? At present I am mainly targetting XP systems.

解决方案

Are there any reasons not to do this?

Not really, no. Although the VB 6 IDE is officially unsupported and has been since 2008, the Windows and VB teams worked overtime to make sure that it works properly on Windows 7 and Server 2008.

I used to have VB 6 installed on my old dev machine running Server 2008 R2 64-bit and can personally testify that I did not experience any issues whatsoever with such a configuration.

Honestly, developing in Windows 7 will probably make you a better developer. UAC will actively prevent you from doing things that you shouldn't have been doing in the first place, like saving data in the Program Files folder. If you run into this type of problem when testing your application, don't blame VB 6 or Windows—the real problem is your code, and the bug is that it ever worked in the first place. Take this as an opportunity to fix those gaping problems (or at least make a note of them so that they can scheduled for an upcoming fix), even if it's going to work properly on XP anyway.

In a pinch, you can always force the application to run with administrative privileges and/or enable XP compatibility mode by right-clicking on its shortcut. But I certainly don't recommend this as a matter of general practice.

这篇关于Win 7 好的VB6 开发环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-28 01:04:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1164467.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:环境   Win

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!