Files
claudetools/clients/valleywide/app-modernization/source-code/README.md
Mike Swanson 5359e7c49e feat(valleywide): recover VWP Orders VB6 source from D: backup drive
Recovered Darv's VB6 source for the Valley Wide Plastering Orders
application from the D: backup drive (label "Backup", 8 TB, 5.3 TB used).
This is the first time we've had the actual source — prior session only
had a single frmPayroll.frm from the AD server.

Three project variants identified across two snapshots:
- Full-Project/   (2,129 files, 124 MB) — D:\Office-Estimates\Darv\Full\Project\
- Kingston-Project/ (2,189 files, 130 MB) — D:\Office-Estimates\Darv\Kingston\Project\
- Source/         (170 files, 559 MB)   — D:\Office-Estimates\Darv\Source\ wholesale
- SOURCE-HOLD/    (3 files, 1 MB)       — D:\Office-Estimates\Darv\SOURCE HOLD\

Latest ORDERS_C.vbp date is 2020-06-09 (Kingston snapshot). Production
Orders_10A.exe was live as of April 2024 — open question whether newer
source exists on other backup drives Mike will scan next.

Also includes per-category and per-keyword analysis CSVs from a WizTree
file-list export, plus the analyzer script that produced them
(re-runnable for the next drive's CSV).

VMs (VWIN7-DW.vdi 8.3 GB + XP-for-ORDERS_copy.vdi 2.8 GB), the live
VWP.mdb, and the 393 MB raw WizTree CSV stay on disk only — gitignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 17:36:27 -07:00

76 lines
4.2 KiB
Markdown

# VWP Orders — Source Code Recovery from D: Backup Drive
**Recovered:** 2026-05-16
**Source drive:** D:\ (label `Backup`, 8 TB, 5.3 TB used) — one of several VWP backup drives in Mike's possession
**Provenance CSV:** `../WizTree_20260516172207.csv` (393 MB raw export, gitignored)
**Analysis CSVs:** `../source-analysis/D-drive-2026-05-16/` (per-category, per-keyword)
## What's in here
### `Full-Project/` — Darv's "Full" project tree
- **Source:** `D:\Office-Estimates\Darv\Full\Project\`
- **Filtered to extensions:** `.vbp .vbg .vbw .frm .frx .bas .cls .ctl .ctx .res .rpt .ini .cfg .sql .qry .txt .md .doc .docx .pdf`
- **Master copy** (most files, older snapshot)
- Latest `ORDERS_C.vbp` date: 2019-11-05
### `Kingston-Project/` — Darv's Kingston USB project tree
- **Source:** `D:\Office-Estimates\Darv\Kingston\Project\`
- **Filtered** (same extension list)
- **Newer** ORDERS_C.vbp (2020-06-09) but fewer files — likely his current working snapshot from the USB stick
- The "Kingston" naming refers to the Kingston-branded USB drive Darv used
### `Source/` — `Darv\Source\` wholesale
- **Source:** `D:\Office-Estimates\Darv\Source\` (555 MB, 169 files)
- Contains a `History\Package\` and `History\Package2\` (InstallShield packages?)
- Has older files dating back to 1997 (`C4dll1210.dll`), 2002-2012 various
- Likely a personal scratch / archive area, not the live source
### `SOURCE-HOLD/` — `Darv\SOURCE HOLD\` wholesale
- **Source:** `D:\Office-Estimates\Darv\SOURCE HOLD\` (2 files only, < 1 MB)
- Named "HOLD" suggests intentional snapshot
### `VMs/` — VirtualBox disk images (gitignored)
- **`VWIN7-DW.vdi`** (8.3 GB) — Darv's actual Windows 7 Dev workstation
- Source: `D:\Office-Estimates\Darv\VirtualBox\VWIN7 DW.vdi`
- Boot this to get his full dev environment with VB6 IDE, paths, dependencies intact
- **`XP-for-ORDERS_copy.vdi`** (2.8 GB) — XP runtime for compiled Orders
- Source: `D:\Office-Estimates\Darv\VM_VDI\XP for ORDERS_copy.vdi`
- Useful for runtime testing of the compiled Orders_10A.exe
## Three VB6 project variants identified
| Project | Purpose | Latest .vbp | Location pattern |
|---|---|---|---|
| `ORDERS_C.vbp` | Main Orders application | 2020-06-09 (Kingston) | `Project\VWP_Current\` |
| `ORDERS_Cx.vbp` | Variant (possibly experimental) | 2018-12-11 | `Project\VWP_Current\` |
| `ORDERS_I.vbp` | Invoicing module | 2019-03-21 | `Project\VWP_Inv\` |
Also `VWP_Current_0317/` and `VWP_Update/` folders exist — likely interim dev branches.
## What was intentionally NOT copied
| Class | Why skipped |
|---|---|
| `Recovery\Darv\` (78 GB) | Older copy of master Darv folder — same source, older snapshots |
| `Estimating Archive 2024-04-23 01;46;22\Darv\` (135 GB) | Bit-for-bit duplicate of master Darv per WizTree size/file count |
| 635 `.mdb` Access DB backups (195 GB total) | Live `VWP.mdb` already in `source-analysis/`; historical schema snapshots can be revisited on demand |
| 14 OVA exports of VMs (58 GB) | Largely duplicates of the two VDIs we grabbed; OVAs are portable but less efficient for running |
| `Darv\Full\Program Files\` (large) | Darv's installed dev tools — the VWIN7-DW.vdi already contains his complete installed environment |
| `Darv\HD2 Info\Darv\` (6.25 GB) | Secondary HD info, lower priority |
| `97-Server-G-Drive\Users\Darv\` (7 GB) | Older server snapshot, superseded by Office-Estimates\Darv\ |
| `VWP-ADSVR\Users\Darv\` (24 GB) | AD server profile — the live copy (with the lone `frmPayroll.frm`) was already analyzed in 2026-04-27 session |
## Open question — the 4-year gap
Latest `.vbp` modification on D:\ is **2020-06-09**. The production `Orders_10A.exe` was live in April 2024. Either:
1. Darv stopped maintaining source after 2020 and made later changes some other way (unlikely)
2. **Newer source exists on other backup drives** — re-run this scan on the next drives Mike connects, filter for `.vbp` mtime > 2020-06-09
3. The 2020 source IS substantially the production code — minor or no functional changes since
Once additional WizTree CSVs are dropped in `source-analysis/`, re-run `analyze_wiztree.py <csv> <out>` to cross-reference.
## Tools
- `../source-analysis/analyze_wiztree.py` — re-runnable WizTree CSV analyzer
- `../source-analysis/size_candidates.py` — folder-size triage script