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.


 
PROCEDURE (1):
JumpStartSplashCHTBlue (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 JumpStartSplashCHTBlue


 
PROCEDURE (2):
MainServiceWindow (Procedure Template: Window)
Count Instance Class Type Methods Header File
(0001) HDisk HNDDisk HND 401 HNDDISK.INC
(0002) FNOTIFY HNDFileNotify HND 5 HNDFILENOTIFY.INC
(0003) QPARSE HNDQueryBuilder HND 245 HNDQBINF.INC
(0004) SHELL HNDShell HND 89 HNDSHELL.INC
(0005) HWin HNDWindow HND 205 HNDWINDO.INC
(0006) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0007) ThisWindow WindowManager ABC 40 ABWINDOW.INC
(7) Class Instances Found In MainServiceWindow


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

chtlogo001.gif
Classes By Procedure