GENERATED: JUL 10,2017 - 11:44PM
CHT Snap-In CHTSNAPZIP.EXE [V10.17.05.0232]

Previous Page
This application illustrates how to incrorporate CHTSNAPZIP.EXE into a Clarion application via the global SNAP-IN interface template "CHT ApplicationSnapIns".

CHTSNAPZIP.EXE is a command-line utility that auto-zips a target directory while OPTIONALLY including any sub-directories of the source directory. CHTSNAPZIP.EXE also unzips to a target directory. This application illustrates how to do all of those things from inside a Clarion application using CHT Templates to write the code.

This application presents a SnapZipStartButton template and two input fields, a target zip file name field and a source directory name field. Complete these two fields and click the zip start button.

Other related templates used are SnapZipDirStartButton and SnapUnZipStartButton.

CHTSNAPZIP.EXE warns if the target zip file exists and if the source directory doesn't exist. Messages from CHTSNAPZIP.EXE appear in a window text control to tell you the outcome of pushing the zip button.

Any questions, feel free to ask at our CHT developer forum: http://news.cwhandy.ca/LOG$

Cheers,
Gus M. Creces
The Clarion Handy Tools Page
www.cwhandy.ca (CHT Website)
news.cwhandy.ca (CHT Forum)

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0003) ApplicationSnapIns(HNDTools) 1 CHT ApplicationSnapIns - Application Snap-In System
(0004) GlobalIncludeHNDSnapCallFunctions(HNDTools) 1 CHT GlobalIncludeHNDSnapCallFunctions - CHT Snap Call Classes - HNDSnapCall - globally to your application.
(0005) GlobalTransparentControls(HNDTools) 1 CHT GlobalTransparentControls - Globally Add Transparency To Your Window/Report Controls
(0006) HandyCodeSigningExtension(HNDTools) 1 CHT HandyCodeSigningExtension - Application Code-Signing System
(0007) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(7) Global Templates Found

1 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0008) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0009) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0010) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0011) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0012) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0013) ProcedureSnapIns(HNDTools) 1 CHT ProcedureSnapIns - Application Snap-In System
(0014) ProcedureTransparentControls(HNDTools) 1 CHT ProcedureTransparentControls - Set Transparency To Your Procedure Window/Report Controls
(7) Local Templates Found In JumpStartSplashCHTBlue

2 - Procedure Template Type: Form
Main ()
Count Local Template Name Qty Local Template Description
(0015) AppStartSplashProcedure(HNDTools) 1 CHT AppStartSplashProcedure - Application Splash screen earlier with an option for threaded/unthreaded.
(0016) DateTimeDisplay(ABC) 1 Display the date and/or time in the current window
(0017) EmbedInformation(HNDTools) 1 CHT EmbedInformation - Code template to generate embed information.(9)
(0018) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0019) HandyApplicationIniPut(HNDTools) 2 CHT HandyApplicationIniPut - Embed a PUT to the Application INI file or Windows registry.(15)
(0020) HandyFileSelectorControl(HNDTools) 1 CHT HandyFileSelectorControl - File and directory selector lookup control.(12)
(0021) HandyToolBarGradient(HNDTools) 1 CHT HandyToolBarGradient - Place gradient properties as a backdrop on the window toolbar.
(0022) HandyWindowGradient(HNDTools) 1 CHT HandyWindowGradient - Place gradient properties as a backdrop on the window.
(0023) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0024) ProcedureSnapIns(HNDTools) 1 CHT ProcedureSnapIns - Application Snap-In System
(0025) ProcedureTransparentControls(HNDTools) 1 CHT ProcedureTransparentControls - Set Transparency To Your Procedure Window/Report Controls
(0026) SnapUnZipStartButton(HNDTools) 1 CHT SnapUnZipStartButton - Button that starts CHT SnapZip Utility
(0027) SnapZipDirStartButton(HNDTools) 1 CHT SnapZipDirStartButton - Button that starts CHT SnapZip Utility
(0028) SnapZipStartButton(HNDTools) 1 CHT SnapZipStartButton - Button that starts CHT SnapZip Utility
(14) Local Templates Found In Main

Copyright © 1996-2017 - CHT Version: [21C.00.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDTESTCHTSNAPZIP.APP