可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app.
Does anyone know of an alternative/ updated IDE for VB6?
A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase.
回答1:
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.
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.
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.
http://www.oaltd.co.uk/Indenter/Default.htm
回答2:
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.htm
It looks quite promising.
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.
回答3:
Because the VB6 IDE does not detect file changes made 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.
But it is possible to run a VB6 project build from the command line so it is possible to do simple VB development using any text editor/IDE capable of running a command an capture it's output.
But for things like GUI changes and debugging there is really no choice but to revert back to the VB6 IDE.
Here is the commands needed to run the build from the DOS prompt:
set PATH="d:\Program Files\Microsoft Visual Studio\VB98\";%PATH%
vb6.exe /out ErrorFile.txt /make MyProject.vbp
FWIW the Zeus IDE has the ability to import a VB Project file and display the project details into project/workspace tree. It will also run the build an capture the output.
回答4:
Visual Basic Tools For Visual Studio lets you open vb6 project in visual studio 2012/2013, with basic outlining, syntax coloring, and a few more things.
Its a work in progress, but if like me you have some living dead vb6 programs to maintain, it's... intriguing.
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).
回答5:
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 Code page. 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.
回答6:
I used Visual Assist X while 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)
回答7:
DoyleSoft BASIC alternative visual basic
jabaco compiler too-
回答8:
CodeHelp Add-In 2.2 Amazing VB6 plugin to help organize and coding.
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=62468&lngWId=1