Scope
Where HexIDE stops.
Most projects publish what they can do. This page is the other half, because a limit you find on day three is a bug report, and a limit you read about on day one is a decision you can make.
It is updated with every release. This version describes 0.8.0.
Status
Where each part stands.
Grouped the way you'd meet them: building a form, saving it, running it, debugging it.
- Works
- Partial
- Not yet
- By design
The workbench
Files and saving
.vbp files round-trip with their line order and description kept. If another program has changed a project's file since it opened, a save asks before replacing it. A .vbp can also be edited as text from Project Explorer..twin sources inside a .twinproj can be edited and saved, and its modules renamed and deleted. Forms, folder renames and deletes, new modules and Settings stay read-only until they're measured against the twinBASIC IDE.Running your program
Load, Show, vbModal and Unload. Mouse, double-click, focus and Activate events fire.GetSetting.PasswordChar and Alignment. The CommonDialog runs Open, Save As, Font and Color, and Printer in its basic form.Declare loads, but the call fails. CreateObject can't start a COM object such as Excel.Application, and type libraries don't work.GoSub, Return, and computed On GoTo and On GoSub run. A label inside a block keeps GoTo's existing limits. ParamArray runs.Shell starts a program, and Screen and LoadPicture work in part. Line, PSet, Circle, Cls and Point work on forms and PictureBoxes, which raise Paint and take Refresh, but thick lines, arcs and sectors don't yet. SavePicture writes the formats VB6 was measured writing. The Printer object and SendKeys don't.Debugging and making
What the editor knows
lsp-servers.json, and read what crossed the wire in the Protocol Inspector. One that offers them adds Find References, Call Hierarchy, Type Hierarchy, Go to Implementation, Go to Type Definition, Format Selection, Quick Fixes, the Refactor and Source Actions menus, formatting as you type, snippets, linked editing, and values beside the code while a program is paused. Entries are added and edited in the Language & Debug Servers window, where one server can be restarted on its own.Saving
What a save changes.
Writing a project back is the half that can lose your work, so it is measured rather than estimated: against the
22 designer files in VB6's own Template folder. Microsoft wrote those, so any difference between
what goes in and what comes out is a defect.
All 22 now survive a save byte for byte. What follows is what's left.
- A form HexIDE can't reproduce won't save
- If a form carries something HexIDE can't write back, it opens read-only and Save declines, rather than putting a lossy copy over your original.
- Twenty-two files isn't every file
- A real project of any age carries controls and header lines those templates never had. HexIDE preserves what it doesn't understand, but preserved isn't tested. That is the honest reason to keep a backup.
- Where the measure runs
- Against VB6's template folder wherever VB6 is installed, and against the demos on every build. It can only be lowered by fixing something.
- Refusing beats guessing
- A refusal is recoverable. A silently rewritten project that only fails the next time VB6 opens it is not.
Permanent
By design, and not changing.
These are deliberate, and they are why the rest of the project stays small enough to finish.
- The interpreter is not a compiler
- It exists so you can press F5 and watch your program run, and it runs typical form programs. It is not a migration path. Where it differs from VB6, the difference is written down.
- No native compiler
- HexIDE doesn't emit machine code. On Windows with VB6 installed it drives the real compiler: a bridge to the genuine article, not a copy of it.
- No whole-program analysis
- The built-in language tooling works on syntax. Binding names across files, inferring types and refactoring need a compiler front end, and that belongs to a real language engine behind a replaceable seam.
- Classic dialects only
- The interpreter runs the language as Microsoft shipped it. When it meets something it doesn't recognise, it fails clearly rather than guessing.
- Some of VB6 isn't coming back
- SDI mode, User Documents, DHTML and IIS applications, the Data Environment, the Package and Deployment Wizard, SourceSafe, and COM add-in hosting.
Why publish this
A map is more useful than a promise.
The interpreter's behaviour is checked against the real compiler, VB6 with Service Pack 6, rather than against anybody's memory of it, and that has overturned the obvious answer many times. It produces two things: a runtime that behaves correctly where it works, and an exact record of where it doesn't.
Publishing the second one costs nothing, and saves you an afternoon.