GENERATED: JAN 12,2023 - 12:29PM
CHT Monitor Directory Service [V10.23.01. 27.00]

Previous Page
This "CHT Utility Application" illustrates a CHT template called EmbedFileNotifyFunctions and a CHT class called HNDFileNotify located in modules HNDFILENOTIFY.INC and HNDFILENOTIFY.CLW.

The class attached to your procedure by this template, once initialized, gives your procedure the ability to detect all changes occuring in a nominated directory and, optionally, its subdirectories. Whenever a new file is added to the target area, or a file is changed, your procedure is sent an event called EVENT:FileChanged to signal that this has occurred. At that point, what you do as a programmer to act on that event is wide open.

The file or files meeting the filter setting provided on the application interface, eventually then, end up sitting somewhere else on the network, for instance, in a server directory. There is also an optional switch to remove the processed source file(s) from the directory being monitored.

The service can be run multiple times as separate "instances" with each instance performing a separate task using different filters, source and target directories. The instance number must be set before starting the service.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel - CHT Global Control Panel (hndtools.tpl)
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx - CHT Application Styling System
(0003) HNDCMPControlPanel(HNDTools) 1 © CHT Project Builder Support - Interface to the CHT Project Builder.
(0004) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(0005) INIFile(HNDTools) 1 © CHT INIFile - .INI FIle and Registry extension classes - HNDIni - globally to your application.
(0006) VblFileNames(HNDTools) 1 © CHT VblFileNames - Incorporate variable file names and defaults into your app from the dictionary.
(6) Global Templates Found

1 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0007) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0008) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp - An application build number or version stamp.
(0009) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp - An application copyright stamp.
(0010) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions - HWin An Instance Of: HNDWindow
(0011) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl - Text box control to provide a message or help text.
(0012) ProcedureImagesEx(HNDTools) 2 © CHT ProcedureImagesEx - Application Styling System
(6) Local Templates Found In JumpStartSplashCHTBlue

2 - Procedure Template Type: Window
MainServiceWindow ()
Count Local Template Name Qty Local Template Description
(0013) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT Best Practice Embedding Assistant
(0014) EmbedFileNotifyFunctions(HNDTools) 1 © CHT EmbedFileNotifyFunctions - FNOTIFY An Instance Of: HNDFileNotify
(0015) EmbedHNDQueryBuilderFunctions(HNDTools) 1 © CHT EmbedHNDQueryBuilderFunctions - QPARSE An Instance Of: HNDQueryBuilder
(0016) EmbedShellFunctions(HNDTools) 1 © CHT EmbedShellFunctions - SHELL An Instance Of: HNDShell
(0017) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions - HWin An Instance Of: HNDWindow
(0018) HandyApplicationIniPut(HNDTools) 6 © CHT HandyApplicationIniPut - Embed a PUT to the Application INI file or Windows registry.(19)
(0019) HandyFileSelectorControl(HNDTools) 1 © CHT HandyFileSelectorControl - File and directory selector lookup control.(2)
(0020) HandyHelpFileFetch(HNDTools) 3 © CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(8)
(0021) HandyHelpWhatsNew(HNDTools) 1 © CHT HandyHelpWhatsNew - Build A What's New Request To Your Website.(15)
(0022) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient - Place gradient properties as a backdrop on the window toolbar.
(0023) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx - Application Styling System
(11) Local Templates Found In MainServiceWindow

Copyright © 1996-2023 - CHT Version: [27A.02.00]
Gus M. Creces, CHT (Clarion Handy Tools)
All Rights Reserved Worldwide

Application Templates