2.2 KiB
2.2 KiB
CMNDPROC Visual Basic Project Documentation
Overview
CMNDPROC (Command Processor) is a Visual Basic 6.0 application developed by Enterprise Computing Services, Inc. The application is currently at version 7.0.73.
Program Flow
graph TD
A[Start: frmStart] --> B[frmMain]
B --> C{Command Processing}
C -->|Print Jobs| D[Print Management]
D --> D1[dwPrinterInfo]
D --> D2[dwPortInfo]
D --> D3[dwPrintMonitor]
D --> D4[dwSpool]
D --> D5[SPOOLER1.FRM]
C -->|File Operations| E[File Handling]
E --> E1[filewatch.frm]
E --> E2[ClearBOM]
E --> E3[Pdf.frm]
C -->|System Functions| F[Core Functions]
F --> F1[MyFunctions]
F --> F2[APIGuide32]
F --> F3[PrinterConstants]
F --> F4[dwTypes]
C -->|Communication| G[Task Communication]
G --> G1[InnerTaskComm]
G --> G2[frmMonitorNib]
B --> H[Additional Forms]
H --> H1[Cmdproc-1.frm]
H --> H2[Cmdproc-2.frm]
H --> H3[Cmdproc-3.frm]
H --> H4[Cmdproc-4.frm]
H --> H5[Cmdproc-5.frm]
H --> H6[Cmdproc-6.frm]
Project Components
External Dependencies
- Microsoft Data Binding Collection
- Microsoft ActiveX Data Objects 2.5 Library
- Microsoft Scripting Runtime
- CCRP FolderTreeview Control (VB6)
- Various ActiveX Controls (TabControl, ADO Data Control, DataGrid, Common Controls, WinSock)
Forms
- frmMain (Main application form)
- frmStart (Startup form)
- Cmdproc-1 through Cmdproc-6
- SPOOLER1
- filewatch
- frmMonitorNib
Classes
- dwPortInfo - Port information handling
- dwPrinterInfo - Printer information management
- dwPrintMonitor - Print monitoring functionality
- dwSpool - Print spooling operations
- ClearBOM - BOM (Byte Order Mark) handling
Modules
- Main (CMNDPROC.BAS)
- MyFunctions
- APIGuide32
- PrinterConstants
- dwTypes
- InnerTaskComm
Features
- Printer management and monitoring
- File watching capabilities
- PDF handling
- Inter-task communication
- Spooler management
- Port monitoring and management
Technical Details
- Compiled as 32-bit executable
- Single-threaded application
- No debugging information included in compilation
- Compatible with MS Transaction Server