GENERATED: JAN 12,2023 - 12:49PM
CHTSNAPZIP EXAMPLE [V10.23.01. 27.00]

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.

External binary dependencies: CHTSNAPZIP.EXE and HNDCAPCON.DLL

 
PROCEDURE (1):
Main (Procedure Template: Form)
Count Instance Class Type Methods Header File
(0001) DIRSEL HNDDisk HND 401 HNDDISK.INC
(0002) HFlSel17 HNDDisk HND 401 HNDDISK.INC
(0003) HANDLES HNDSizes HND 23 HNDSIZES.INC
(0004) HWin HNDWindow HND 205 HNDWINDO.INC
(0005) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0006) ThisWindow WindowManager ABC 40 ABWINDOW.INC
(6) Class Instances Found In Main


 
PROCEDURE (2):
JumpStartSplash07 (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 205 HNDWINDO.INC
(0002) HWin HNDWindow HND 205 HNDWINDO.INC
(0003) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0004) ThisWindow WindowManager ABC 40 ABWINDOW.INC
(4) Class Instances Found In JumpStartSplash07


Copyright © 1996-2023
Gus M. Creces, CHT (Clarion Handy Tools)
All Rights Reserved Worldwide

chtlogo001.gif
Classes By Procedure