This application illustrates how to incrorporate CHTSNAPDISK.EXE into a Clarion application via the global SNAP-IN interface template "CHT ApplicationSnapIns". CHTSNAPDISK.EXE is a command-line disk-drive information utility which provides: Drive Number, Drive Letter, Drive Type, Volume Label, File System, Space Available to Current User, Total Space Available, Total Size of Drive, and Disk Hardware Serial with the "--info" command. The "--list" command provides a file called "chtsnapdisk.txt" containing the above information. The "--listedit" provides a file called "chtsnapdisk.txt" containing the above information and on completion, opens the file with CHTSNAPEDIT.EXE. The "--processor" command also identifies the current computer's processor ID. The "--label" command provides for changing the disk-drive label. External binary dependencies: CHTSNAPDISK.EXE, CHTSNAPEDIT.EXE and HNDCAPCON.DLL |
Count | Global Template Name | Qty | Global Template Description | |
(0001) | AACHTControlPanel(HNDTools) | 1 | © CHT AACHTControlPanel • (TIER-1) • | |
(0002) | ApplicationImagesEx(HNDTools) | 1 | © CHT ApplicationImagesEx • (TIER-1) • | |
(0003) | ApplicationSnapIns(HNDTools) | 1 | © CHT ApplicationSnapIns • (TIER-3) • | |
(0004) | GlobalIncludeHNDSnapCallFunctions(HNDTools) | 1 | © CHT GlobalIncludeHNDSnapCallFunctions • (TIER-3) • | |
(0005) | GlobalTransparentControls(HNDTools) | 1 | © CHT GlobalTransparentControls ’ (TIER-1) ’ | |
(0006) | HNDCMPControlPanel(HNDTools) | 1 | © CHT HNDCMPControlPanel • (TIER-2) • | |
(0007) | HandyVersionResource(HNDTools) | 1 | © CHT HandyVersionResource • (TIER-1) • | |
(7) Global Templates • (TIER-3) | ||||
1 – Template Type: Form | ||||
– – Procedure Name: Main() | ||||
Count | Local Template Name | Qty | Local Template Description | |
(0008) | AppStartSplashProcedure(HNDTools) | 1 | © CHT AppStartSplashProcedure • (TIER-1) • (CODE-TABS) • | |
(0009) | CHTBestPracticeEmbedClass(HNDTools) | 1 | © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) • | |
(0010) | DateTimeDisplay(ABC) | 1 | Display the date and/or time in the current window | |
(0011) | EmbedWindowFunctions(HNDTools) | 1 | © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) • | |
(0012) | HandyApplicationIniPut(HNDTools) | 2 | © CHT HandyApplicationIniPut • (TIER-1) • (9) | |
(0013) | HandyHelpWhatsNew(HNDTools) | 1 | © CHT HandyHelpWhatsNew • (TIER-1) • (14) | |
(0014) | HandyToolBarGradient(HNDTools) | 1 | © CHT HandyToolBarGradient • (TIER-2) • | |
(0015) | HandyWindowGradient(HNDTools) | 1 | © CHT HandyWindowGradient • (TIER-2) • | |
(0016) | ProcedureImagesEx(HNDTools) | 1 | © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) • | |
(0017) | ProcedureSnapIns(HNDTools) | 1 | © CHT ProcedureSnapIns • (TIER-3) • | |
(0018) | ProcedureTransparentControls(HNDTools) | 1 | © CHT ProcedureTransparentControls • (TIER-1) • | |
(0019) | ResizeHandles(HNDTools) | 1 | © CHT ResizeHandles • (TIER-2) • (CODE-TABS) • | |
(12) Local Templates • (TIER-3) | ||||
2 – Template Type: Splash | ||||
– – Procedure Name: JumpStartSplash07() | ||||
Count | Local Template Name | Qty | Local Template Description | |
(0020) | AppBuildDateTimeStamp(HNDTools) | 1 | © CHT AppBuildDateTimeStamp • (TIER-2) • | |
(0021) | AppBuildNumberStamp(HNDTools) | 1 | © CHT AppBuildNumberStamp • (TIER-2) • | |
(0022) | AppCopyRightStamp(HNDTools) | 1 | © CHT AppCopyRightStamp • (TIER-2) • | |
(0023) | EmbedWindowFunctions(HNDTools) | 1 | © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) • | |
(0024) | HandyTellMeControl(HNDTools) | 1 | © CHT HandyTellMeControl • (TIER-2) • (2) | |
(0025) | ProcedureImagesEx(HNDTools) | 1 | © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) • | |
(0026) | ProcedureSnapIns(HNDTools) | 1 | © CHT ProcedureSnapIns • (TIER-3) • | |
(0027) | ProcedureTransparentControls(HNDTools) | 1 | © CHT ProcedureTransparentControls • (TIER-1) • | |
(8) Local Templates • (TIER-3) | ||||