Visual Basic 1.0 / 16-bit NE · VBRUN100 · 1991

VB1 decompiler: the oldest Visual Basic, with names the newer ones lost.

Visual Basic 1.0 programs are the rarest request we get and, in one way, the most rewarding: a VB1 EXE kept its symbol table. Procedure, parameter, local, type and constant names come back exactly as the developer typed them — something not even a native VB6 EXE can offer. Our VB1 decompiler recovers the forms, nested menus, control layout and structured code, and delivers them as a modern project.

See a real VB1 recovery, IconWorks, next to its original source →

// under the hood

A 21-byte stub and everything after it

A VB1 EXE is a 16-bit NE whose code segment is a 21-byte stub; the entire project is a blob appended after the NE image — 137,088 of IconWorks' 137,519 bytes. Nothing is in a resource and nothing is in a segment, so the decompiler locates the blob structurally. Inside it, each form is stored in exactly the layout of a loose binary .FRM file, verified byte for byte, so one parser reads both.

VB1's code is unlike any later version. There are no numbered opcodes: it is direct-threaded, each two-byte token being a code address inside the runtime, and the interpreter is literally load word, jump. Even integer literals are encoded as the address of the instruction that loads them. The engine reconstructs the meaning of 436 runtime handlers, recovered by disassembling VBRUN100.DLL itself — which is byte-identical in every copy of VB1 ever shipped.

// what comes back

What the VB1 decompiler brings back

  • ✓

    Real names, almost everywhere

    Procedures, parameters, locals, Types, constants and Declares by name: 396 of the 398 user identifiers in IconWorks (99.5%), and 96% of name-bearing operands resolved across the corpus.

  • ✓

    Forms, menus and controls

    The control tree with classes and control-array indexes, nested menus with separators, per-class properties (captions, geometry, fonts, tab order, text, scroll bars and more), and pictures and icons split out to .frx. Geometry matched on 233 of 252 controls.

  • ✓

    Structured code

    If / ElseIf / Else, Select Case, Do / Loop, For / Next, and Declares with library, arity, parameter names and types.

  • ✓

    A modern project

    Delivered as a VB6-format project (.vbp, .frm, .frx, .bas) that loads in today's IDE — a VB1 .MAK is itself binary and cannot be regenerated.

// measured

Measured on the VB1 corpus

MetricResult
Corpus size805 procedures, 0 disassembly errors
Unrecovered-line markers across the corpus53 in total
EMPIRE — 110 procedures, 9 modules, 6 forms2,938 statements, 0 unrecovered; VB6 build succeeds
IconWorks — statements matching the shipped source265 of 273 · identifiers 396 of 398 · strings 44 of 44
Cardfile, probes64/69 · 177/178 · 357/358 · 86/89

See the IconWorks recovery →

// the fine print

What still needs a hand

Loads cleanly; finishing is part of the service

The generated project opens in VB6 but does not compile untouched: constant values are not yet located, some array declarations lack element types, and lines that need a runtime handler the engine does not model yet are marked '<unrecovered: N p-code tokens> rather than guessed. Comments are stripped from the EXE (they survive only in loose .FRM files). As part of the recovery service we complete those spots by hand and mark every one.

// how to decompile your program

Three ways to get from the EXE to source

STEP 01

Confirm the format

Run the free VBScanner on the folder. It reads the file headers and tells you what built each EXE, DLL or OCX and whether it is P-Code, native or IL.

STEP 03

…or let us do it

Request a free evaluation. We examine the binary, tell you exactly what comes back, and quote a fixed price and timeline. Hand-finishing of anything the engine marks is included.

// questions

VB1 decompiler questions

Why does VB1 keep names that VB6 throws away?

VB1 compiled to a direct-threaded token stream and shipped the project symbol table inside the EXE, so the runtime could resolve names at run time. Later versions resolved everything at compile time and dropped the table.

Can I open a decompiled VB1 program in VB6?

Yes, the output is a VB6-format project. It loads; a small amount of finishing (constants, some array types) is needed before it compiles, which we do as part of the service.

Do you also handle loose VB1 .FRM files?

Yes. Binary .FRM files from VB1 to VB3 can be converted to text on their own, and they still contain the comments that the EXE does not.

// other formats

Every generation of Basic has its own page

Ready to decompile your VB1 program?

The evaluation is free and tells you exactly what your binary yields before you spend anything. Or license the decompiler and run it in-house today.

free evaluation fixed quotes NDA available software from $299