Visual Basic 5.0 Control Creation Edition (and the other free VB/Delphi editions)

Status 2026-09-22: VB5 CCE installs, opens the IDE in design mode, and runs a shipped sample (F5). VB6 Working Model and Delphi 6/7 Personal are blocked on licensing (see the end).

Source

Reproduction

Install with --winver=nt4, persisting C:\ and the registry. On the 9x version, setup takes a different path that we have not driven.

node test/run.js --no-build --winver=nt4 --exe=$DIR/vb5ccein.exe --vfs-include='setupapi.dll' \
  --quiet-api --max-batches=120000 --max-seconds=500 --stuck-after=1000000 \
  --input=10:dlg-cmd:6,200:dlg-cmd:6,35000:dlg-post-cmd:1,37000:dlg-cmd:6,100000:dlg-cmd:1 \
  --no-close --overlay-dir=$OV/c --reg-export=$OV/reg.json

The inputs answer, in order:

  1. the two extractor Yes/No questions;
  2. the "Directory" OK. It appears around batch 29,600. It must be dlg-post-cmd: its handler opens a nested MessageBox, and a synchronous dlg-cmd abandons that after 64 rounds;
  3. "create directory?" Yes;
  4. the final "installation complete".

Installed files land under c:\program files\vb5cce and c:\windows\system, and the OCXs self-register into the registry.

Run the IDE on a sample and press F5, then ">>" and OK:

node test/run.js --no-build --exe="$OV/c/program files/vb5cce/vb5cce.exe" \
  --exe-guest-path='c:\program files\vb5cce\vb5cce.exe' --cwd='c:\program files\vb5cce' \
  --args='"c:\program files\vb5cce\samples\axlstpik\testgrp.vbg"' \
  --overlay-dir=$OV/c --overlay-flush-ms=0 --reg-import=$OV/reg.json --quiet-api \
  --max-batches=60000 --stuck-after=1000000 \
  --input=30000:keydown:116,30010:keyup:116,45000:mousedown:470:283,45020:mouseup:470:283,50000:dlg-cmd:1 \
  --no-close --png=out.png

Expected results:

--exe has to be a host path; vfs5/ in the session was the overlay's blobs copied out under their guest names.

What it needed (all covered by test/test-vb5-setup-com-apis.js unless noted)

Known gaps

VB6 Working Model / Delphi 6 & 7 Personal