VB6 和 VBA 的替代 IDE

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/226565/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 09:26:38  来源:igfitidea点击:

Alternative IDE for VB6 and VBA

vbavb6idevbe

提问by Omar Kooheji

I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app.

我被 Visual Studio 2008 和 Eclipse 宠坏了,不得不对 VB6 应用程序做一些维护工作。

Does anyone know of an alternative/ updated IDE for VB6?

有谁知道 VB6 的替代/更新 IDE?

A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase.

重写不是一种选择,我只是在修复一些错误,而且它是一个很大的代码库。

采纳答案by Shane Miskin

I have never heard of an alternative IDE for Vb6. However, these two (free) VB6 add-ins are indispensable and will make your life easier - especially if there is a lot of code. They are equally effective for VBA in Microsoft Office.

我从未听说过 Vb6 的替代 IDE。但是,这两个(免费)VB6 插件是必不可少的,它们会让您的生活更轻松——尤其是在代码很多的情况下。它们对于 Microsoft Office 中的 VBA 同样有效。

MZ-Tools: provides a superb collection of IDE tools - finding unused variables, unused methods, a great "search all", code snippets. Written by Carlos J. Quintero, to whom I now owe hours and hours of time.

MZ-Tools:提供了大量 IDE 工具 - 查找未使用的变量、未使用的方法、出色的“全部搜索”、代码片段。由 Carlos J. Quintero 撰写,我现在欠他几个小时的时间。

http://www.mztools.com/v3/mztools3.aspx

http://www.mztools.com/v3/mztools3.aspx

And SmartIndenter, which takes care of all the auto-indenting. It does one thing and it does it well.

还有SmartIndenter,它负责所有的自动缩进。它只做一件事,而且做得很好。

http://www.oaltd.co.uk/Indenter/Default.htm

http://www.oaltd.co.uk/Indenter/Default.htm

Screencap of MZ-Tools Menu

MZ-Tools 菜单截图

回答by jussij

Because the VB6 IDE does notdetect file changesmade outside of the IDE, it can be quite difficult to develop code outside of the VB6 IDE, without running the risk of loosing code changes.

由于 VB6 IDE不会检测在 IDE 之外所做的文件更改,因此在 VB6 IDE 之外开发代码可能会非常困难,而且不会冒丢失代码更改的风险。

But it is possible to run a VB6 project build from the command lineso it is possible to do simple VB development using any text editor/IDE capable of running a command an capture it's output.

但是,可以从运行VB6项目构建命令行因此可以使用任何文本编辑器做简单的VB开发/ IDE能够运行一个命令捕获一个它的输出。

But for things like GUI changes and debugging there is really no choice but to revert back to the VB6 IDE.

但是对于诸如 GUI 更改和调试之类的事情,确实别无选择,只能恢复到 VB6 IDE。

Here is the commands needed to run the build from the DOS prompt:

以下是从 DOS 提示符运行构建所需的命令:

set PATH="d:\Program Files\Microsoft Visual Studio\VB98\";%PATH%
vb6.exe /out ErrorFile.txt /make MyProject.vbp

FWIWthe Zeus IDEhas the ability to importa VB Project file and display the project details into project/workspace tree. It will also run the build an capture the output.

FWIW宙斯IDE具有的能力导入一个VB项目文件并显示该项目的详细信息到项目/工作区树。它还将运行构建并捕获输出。

回答by Ilya Kochetov

Some time ago I did some research and nothing came up. I don't believe you have have any real alternatives...

前段时间我做了一些研究,但没有任何结果。我不相信你有任何真正的选择......

But you could consider checking this out: http://www.axtools.com/products/cs2k3vb_screenshots.htmIt looks quite promising.

但是你可以考虑看看这个: http://www.axtools.com/products/cs2k3vb_screenshots.htm看起来很有希望。

Addin for Visual Basic 6.0 packing more than 50 professional tools and assistants. The Code View Assistant enriches the standard VB6 code editor with branch lines for conditional statements, end-of-line details, and hotspots. Moreover, the Code Analyzer pinpoints dead and slow code, the SmartComplete and AutoText tools help you write code with a proficiency you never dreamed of, while the Enhanced Project Explorer with expanding code and Code Flow View can make accessing a code location the speedy action you always needed. Other tools: Extended Find, Find References, Designer Explorer, Code Formatter, TabOrder Designer (with auto-order), HotKey Designer, Error Handlers Inserter, Exception Protection, Spelling Checker, Strings Reviewer, Comments Conformity Checker, Task List Manager, Code Snippets Manager, Naming Standards Manager.Version 2007 adds Designer Analyzer, User Interface Standard Properties Manager, Library Explorer including Designer Snippets, many enhancements in most subsystems.

包含 50 多种专业工具和助手的 Visual Basic 6.0 插件。代码查看助手通过用于条件语句、行尾详细信息和热点的分支行丰富了标准 VB6 代码编辑器。此外,代码分析器可查明死代码和慢代码,SmartComplete 和自动图文集工具可帮助您以前所未有的熟练程度编写代码,而具有扩展代码和代码流视图的增强型项目资源管理器可以使访问代码位置成为您的快速操作一直需要。其他工具:扩展查找、查找引用、设计器资源管理器、代码格式化程序、TabOrder 设计器(带自动排序)、热键设计器、错误处理程序插入器、异常保护、拼写检查器、字符串检查器、注释一致性检查器、任务列表管理器、代码片段经理,

回答by Guillaume

Visual Basic Tools For Visual Studiolets you open vb6 project in visual studio 2012/2013, with basic outlining, syntax coloring, and a few more things.

Visual Studio 的 Visual Basic 工具允许您在 Visual Studio2012/2013 中打开 vb6 项目,包括基本轮廓、语法着色和其他一些内容。

Its a work in progress, but if like me you have some living dead vb6 programs to maintain, it's... intriguing.

这是一项正在进行中的工作,但如果像我一样你有一些活死的 vb6 程序需要维护,那就是......很有趣。

Except there's no GUI editor, no debugging. I fear these points (especially debugging) are deal breakers. (Of course, I understand that not everything is possible).

除了没有 GUI 编辑器,没有调试。我担心这些点(尤其是调试)会破坏交易。(当然,我明白并非一切皆有可能)。

回答by RayOK

Yeah, no alternative IDEs to VB6 afaik. But one indispensable add-in I used was CodeHelp. It gives you tabs! for the windows, easy tab ordering, fullscreen switcher and maybe a mousewheel add-in. Check it out from the Planet Source Codepage. And be sure to check the comments for a download to a setup file as I had problems with the source code and the author's site.

是的,没有替代 IDE 来替代 VB6 afaik。但我使用的一个不可或缺的插件是 CodeHelp。它给你标签!对于 Windows,简单的选项卡排序、全屏切换器和鼠标滚轮加载项。从Planet Source Code页面查看。并且一定要检查下载到安装文件的评论,因为我在源代码和作者的网站上遇到了问题。

回答by Ron Klein

I used Visual Assist Xwhile programming in VB6. It's a code coloring add-in.
A must have, once you got used to VS2005+
I don't know if VB6 is still supported in current version, so you should take a look and see for yourself (and perhaps get an older version)

我在 VB6 中编程时使用了Visual Assist X。这是一个代码着色插件。
必须有,一旦你习惯了 VS2005+
我不知道当前版本是否仍然支持 VB6,所以你应该自己看看(也许会得到一个旧版本)

回答by uli

DoyleSoft BASIC alternative visual basic

DoyleSoft BASIC 替代visual basic

jabaco compiler too-

jabaco编译器太-

回答by rubStackOverflow

CodeHelp Add-In 2.2 Amazing VB6 plugin to help organize and coding.

CodeHelp Add-In 2.2 惊人的 VB6 插件,可帮助组织和编码。

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=62468&lngWId=1

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=62468&lngWId=1

enter image description here

在此处输入图片说明