Files
claudetools/clients/valleywide/app-modernization/source-code/Kingston-Project/VWP_Current/frmEPElevNotUsed.frm
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

129 lines
3.5 KiB
Plaintext

VERSION 5.00
Object = "{32B82FD1-3332-11D4-BF7C-E4453F764218}#1.0#0"; "EASYP.OCX"
Begin VB.Form frmEPElev
Caption = "Print Elevation"
ClientHeight = 1005
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1005
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.CheckBox chkFound
Caption = "Pics Found"
Height = 315
Left = 1980
TabIndex = 2
Top = 480
Visible = 0 'False
Width = 735
End
Begin EasyP.EasyPrint epElevation
Left = 3960
Top = 360
_ExtentX = 847
_ExtentY = 847
ErrorMessagesOn = 0 'False
PrintingMethod = 4
End
Begin VB.PictureBox picElevation
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 255
Left = 360
ScaleHeight = 195
ScaleWidth = 795
TabIndex = 0
Top = 420
Visible = 0 'False
Width = 855
End
Begin VB.Label lblElevation
Alignment = 2 'Center
BackColor = &H0080FFFF&
Caption = "Printing Lot Elevations Please Be Patient"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 915
Left = 120
TabIndex = 1
Top = 0
Width = 4395
End
End
Attribute VB_Name = "frmEPElev"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim mboolJPG As Boolean
Dim moRSElev As Recordset
Private Sub Form_Activate()
PrintJPG
Unload Me
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
SendKeys "{TAB}"
KeyAscii = 0
End If
End Sub
Private Sub Form_Load()
Dim strSQL As String, strFLAG As String
strSQL = "SELECT * FROM tblLotElev where lot_id = " & gintLOTID
' strSQL = "SELECT * FROM tblElevation where Est_id = " & gintESTID
Set moRSElev = New Recordset
moRSElev.Open strSQL, goConn, adOpenForwardOnly, adLockReadOnly
If moRSElev.EOF Then
chkFound = vbUnchecked
Else
PrintJPG
End If
End Sub
Private Sub picElevation_Change()
mboolJPG = True
End Sub
Private Sub PrintJPG()
Dim strSQL As String, oRS As Recordset, strFile As String
On Error GoTo Error_EH:
mboolJPG = False
Do Until moRSElev.EOF
strFile = App.Path & "\" & Field2Str(moRSElev!folder) & "\" & Field2Str(moRSElev!FileName) & ".jpg"
picElevation.Picture = LoadPicture(strFile)
epElevation.Margin(epTop) = 0.2
Set epElevation.PictureSource = picElevation
epElevation.epPrint
moRSElev.MoveNext
Loop
Exit Sub
Error_EH:
gstrMODULE = "Form EPElev - Module PrintJPG"
Call ErrorHandler2
gstrMODULE = ""
Exit Sub
End Sub