Why so many VB6 applications are still in production
Visual Basic 6 made it practical for one developer or a small shop to build a complete Windows business application, and a lot of those applications never left. They track inventory, schedule jobs, print labels, run lab instruments, and keep records in offices that have no reason to replace something that still works. The developer who wrote the program has often retired or moved on, and the project folder with the .vbp, .frm, and .bas files went with an old PC or a failed drive.
The programs keep running because Microsoft kept the runtime alive. Microsoft's support statement says the Visual Basic 6.0 IDE has not been supported since April 8, 2008, while the VB6 runtime is supported for the lifetime of supported Windows versions, limited to serious regressions and critical security issues for existing applications. The same statement says there is no supported method to create or maintain Visual Basic 6 applications and recommends replacing them (Microsoft Learn: Support Statement for Visual Basic 6.0). That is the situation in one sentence: the EXE still runs, and nothing about it can be changed without source.
First question: P-code or native code?
VB6 could compile a project two ways, and the mode your EXE was built with shapes what a recovery can get back. Microsoft's documentation says applications are compiled as interpreted, or p-code, executables by default, and that the Professional and Enterprise editions add the option to compile to native code (Microsoft Learn: Compiled vs. Interpreted Applications). P-code is an intermediate step between the Basic statements and the processor's instructions, translated at run time; native code compiles the program fully to processor instructions. Either way the program still depends on the VB runtime, MSVBVM60.DLL, which provides startup code, forms and intrinsic controls, and runtime functions (Microsoft Learn: Compiling Your Project to Native Code).
This matters for recovery because p-code sits much closer to the original statements. The maker of VB Decompiler describes P-code programs as the easier case, where logic is mostly restored, and native code programs as the hardest to decompile, with the result being partially recovered Visual Basic code (VB Decompiler FAQ). Native code is x86 machine code (VB Decompiler), so the logic has to be lifted back out of compiled instructions instead of read from a higher level form. Neither mode is hopeless, but they are different jobs, and a recovery estimate that does not ask which one you have is guessing.
What survives in a compiled VB6 EXE
A VB6 executable keeps a surprising amount, because the runtime needs it to build the interface and wire up events. Public decompiler documentation is consistent about what usually comes back:
- Forms and their layout. Forms and user controls can be restored with their properties, including the
.frxresources that hold images and icons (VB Decompiler). - Form and control names. The names of forms, controls, standard events, and public functions usually keep their original names (VB Decompiler FAQ).
- Event procedure names. Because event handlers are tied to controls by name, a procedure like
cmdSave_Clicktends to come back as written, which gives every button and menu a readable entry point. VBReFormer's manual shows an event handler from Microsoft's own VB6 setup wizard coming back with its form, button, and handler names intact (VBReFormer manual, chapter 5). - Strings and resources. Text strings, messages, icons, images, API declarations, and references to OCX and COM components survive and help rebuild both the interface and the logic (VB Decompiler: recover lost VB6 source code).
In practice that means the screens your staff use every day, and the names of the buttons and fields on them, are the best preserved part of the program.
What is lost for good
The human layer of the source was never needed at run time, so the compiler did not keep it:
- Comments and formatting. Comments, original formatting, and source-only design decisions are generally absent after compilation (VB Decompiler: recover lost VB6 source code).
- Local variable names. In most cases original variable names are stripped, and a decompiler shows generic placeholders such as
var_10(VB Decompiler FAQ). - Private and module procedure names. Names of private procedures and variables, local variable names, and constants folded at compile time are listed among what compilation removes (VBReFormer: lost VB6 source code), and procedures in
.basmodules come back with address based names (VBReFormer manual, chapter 5).
The pattern is easy to remember: the interface comes back with its names, and the logic comes back without its labels. No tool restores what is not in the file, so anyone promising your original comments back is promising something the EXE does not contain.
Why raw decompiler output is not a rebuildable project
It is tempting to run a decompiler, save the output, and call the source recovered. The decompiler makers themselves say otherwise. VB Decompiler's own recovery page says its output is not a ready-to-compile copy of the lost VB5 or VB6 project, that the remaining portion may contain incompatible syntax, incorrectly inferred expressions, missing types, or fragments that still need manual reverse engineering, and that opening the recovered material in the VB6 IDE can produce many compile errors until a developer corrects and reconnects it (VB Decompiler: recover lost VB6 source code).
Even a clean listing leaves the harder questions open. Does it build? Does it run with the same OCX controls and database drivers the original uses? Does it print the same invoice, calculate the same totals, and reject the same bad input? A decompiler cannot answer those. That is why the homepage describes the deliverable as readable source structured the way a developer would write it, and says plainly that it is not raw decompiler output.
How Orphanware Recovery approaches a VB6 recovery
The pipeline is the same four stages used on every engagement. Reconnaissance inventories the program: what it does, the files it reads and writes, the platform it was built for, and whether full recovery is realistic, and you get an honest verdict first. Decompilation produces a first draft of the logic. Reconstruction rebuilds that draft into clean, readable source with meaningful names and normal structure, then compiles it into a working program. Differential verification runs the rebuild and the original side by side across thousands of generated test cases and compares the outputs exactly, and any divergence is found, fixed, and retested. The binary recovery guide walks each stage, and the differential testing guide explains what zero divergence does and does not prove.
For VB6 specifically, recovery works from the compiled EXE and its supporting files, reconstructing forms logic, procedures, and data access into readable source, and the rebuild is compared against the original on the workflows the business actually uses, as the Visual Basic 6 directory entry describes. If a part of the program cannot be recovered, the report documents exactly where and why instead of filling the gap with plausible looking code.
Stated plainly: the measured record on this site comes from C and C++ test targets and a Free Pascal target, not from VB6. A VB6 engagement starts with a recon verdict on your specific EXE before any recovery is promised. Orphanware Recovery is operated by Josiah Wilson, who directs every engagement and signs off on every result. The decompilation, reconstruction, and testing pipeline is carried out by AI agents under his direction.
What to gather before you ask
Collect what you can without changing the working machine: the EXE, any DLL and OCX files installed with it, the installer or setup folder if it still exists, the database or data files it uses, and a few sample printouts or exports that show what correct output looks like. The intake checklist lists the rest. Please do not attach the binary to your first email; after an initial reply, the transfer is arranged. Work is only done on binaries you own or have the right to reverse engineer, and the guide to decompiling legality covers the questions owners usually ask.
If you are not sure whether your program is P-code or native, which files matter, or whether recovery is realistic at all, that is exactly what the Recon Report answers, for a fixed $45, before any larger commitment. See pricing for the tiers.