technology & proof / visual basic 6 · P-Code · MSVBVM60

Visual Basic 6, P-Code — decompiled, not just disassembled

Many VB6 programs were compiled to P-Code — VB's interpreted byte-code — rather than native x86. This is Miner VGA, a remake of the classic DOS mining game, decompiled procedure by procedure back into readable Basic. The original source was kept, so every pair compares.

Everything below was produced by our recovery engine, build 2.1.8, on Oct 9, 2026. Jump to the files ↓

// side by side

Original source vs. decompiled output

The same project reconstruction as native VB6 — forms, modules, event handlers matched by name — with the code decompiled from byte-code. The originals run longer mostly because comments never survive compilation.

Files
Original source
Recovered output
Reading the output: keyword type / constant string number comment decompiler-synthesized name

Names like var_18, arg_C, proc_401760 and global_00423088 are generated by the decompiler — compilers strip those names from the binary, so they are reconstructed from offsets and addresses. Names the engine can recover come back exactly as written.

// more proof

Every format, its own example

Native VB6 — the hardest case and our specialty — is the showcase on the main technology page. The rest of the family each have a page like this one.

Want this run on your program?

Everything on this page was recovered by our engine. Tell us about the binary you're trying to bring back — the evaluation and quote are free.