65

I've been spoiled by Visual Studio 2008 and Eclipse and have to do a little maintenance work on a Visual Basic 6.0 (VB6) application.

Is there an alternative/ updated IDE for Visual Basic 6.0?

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

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Omar Kooheji
  • 54,530
  • 68
  • 182
  • 238
  • 2
    What's wrong with the IDE? It's lightweight :-) It's very fast on any modern hardware. You can debug, it has breakpoints... What are you missing? – Darrel Miller Oct 23 '08 at 13:15
  • What are you really asking? If VisualStudio 2008 has a VB6 IDE available? Answer to that is **no**. You have to install the VB6 compiler/IDE that is included in the VisualStudio6 setup. (you can select to install just the VB6 part and skip VisualStudio6 for C++ ) – awe Oct 07 '09 at 09:49
  • https://twinbasic.com/ – StayOnTarget Apr 15 '23 at 15:01

8 Answers8

63

I have never heard of an alternative IDE for Visual Basic 6.0 (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.

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

Screencap of MZ-Tools Menu

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Shane Miskin
  • 1,911
  • 2
  • 22
  • 30
8

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

But you could consider checking this out: http://www.axtools.com/products-codesmart-vb6.php (UPD: 13.04.2023 with new link)

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.

Ilya Kochetov
  • 17,988
  • 6
  • 44
  • 60
8

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 losing 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 and capture its output.

But for things like GUI changes and debugging there isn't really any choice but to revert back to the VB6 IDE.

Here are 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

For what it's worth, 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 and capture the output.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
jussij
  • 10,370
  • 1
  • 33
  • 49
  • 3
    It is very annoying how the VB6 IDE doesn't detect external file changes!!!!! – mrsheen Jan 27 '13 at 01:42
  • This answer has a fix for external file changes http://stackoverflow.com/questions/24766228/is-there-a-way-to-refresh-the-code-window-for-microsoft-visual-basic-6-without-r/24792427#24792427 – Marco Luglio Jan 23 '17 at 17:23
8

Visual Basic Tools For Visual Studio lets you open VB6 project in Visual Studio 2012/Visual Studio 2013, with basic outlining, syntax coloring, and a few more things.

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

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

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Guillaume
  • 1,076
  • 10
  • 21
3

CodeHelp Add-In 2.2. It is an amazing VB6 plugin to help organize and coding.

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

Enter image description here

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
rubStackOverflow
  • 5,615
  • 2
  • 29
  • 43
3

Yeah, no alternative IDEs to VB6 as far as I know. 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.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
RayOK
  • 346
  • 1
  • 5
2

I used Visual Assist X while programming in VB6. It's a code coloring add-in. It is a must-have, once you got used to Visual Studio 2005 and later.

I don't know if VB6 is still supported in the current version, so you should take a look and see for yourself (and perhaps get an older version).

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Ron Klein
  • 9,178
  • 9
  • 55
  • 88
  • where can we get the older version? the current version only supports VC++6.0 even though it claims to support "Visual Studio 6.0" - i installed the current version and nothing in vb6 ide shows up ;( – Erx_VB.NExT.Coder Sep 15 '12 at 14:23
  • @Erx_VB.NExT.Coder, **maybe** you can find it in eBay. – Ron Klein Sep 15 '12 at 15:29
  • have you tried axtool's CodeSmart solution? I couldn't believe how comprehensive it is when it comes to VB6... my god was i in for a suprise! I'd love for anyone to give it a try and let me know what they think. I used the 2009 version which is available on torrent sites, and realized it has bugs (but they aren't annoying bugs), they are manageable bugs. Oh yeah, and it doesnt alter your code unless you specifically ask it to, and non of the bugs are related to altering or destroying your code (thankfully). – Erx_VB.NExT.Coder Sep 22 '12 at 08:03
2

DoyleSoft BASIC alternative Visual Basic.

The Jabaco compiler too.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
uli
  • 21
  • 1