GENERATED: JUL 10,2017 - 11:56PM
CHT Demonstration NT Service [V10.17.05.0154]

Previous Page
This application, once configured, starts CHT backup application HNDFSYNC.EXE at the Start Time: indicated and creates a backup based on the .TPS Synch File provided. Use this application as a model for most hidden, background services required to perform some routine task on a regular schedule, as in this case a backup service.

To install this service application, at the DOS prompt type:
HNDWINDOWSSERVICEDEMO /IS or /INSTALL

To start the service once installed, at the DOS prompt type:
HNDWINDOWSSERVICEDEMO /SS or /START

To stop the service once installed, at the DOS prompt type:
HNDWINDOWSSERVICEDEMO /SP or /STOP

To remove the service once installed, at the DOS prompt type:
HNDWINDOWSERVICEDEMO /RS or /REMOVE

See HNDSERVICEUP.APP and HNDSERVICEUPREMOTE.APP for examples of how to control and configure this service remotely from another application.

This application starts with it's window minimized and hidden. It's application icon appears on the Windows Task Bar from which it can be commanded. By unchecking the "Application In Tray" switch on the EmbedWindowFunctions template in the main procedure, this application can be made to run completely hidden, while still being configured remotely from HNDSERVICEUPREMOTE.APP or HNDSERVICEUP.APP.

Any questions, feel free to ask.

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

 
PROCEDURE (1):
JumpStartSplashCHTBlue (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 214 HNDWINDO.INC
(0002) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0003) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(3) Class Instances Found In JumpStartSplashCHTBlue


 
PROCEDURE (2):
ServiceMain (Procedure Template: Window)
Count Instance Class Type Methods Header File
(0001) SLOT HNDMailSlotClass HND 60 HNDMAIOT.INC
(0002) SHELL HNDShell HND 89 HNDSHELL.INC
(0003) HWin HNDWindow HND 214 HNDWINDO.INC
(0004) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0005) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(5) Class Instances Found In ServiceMain


Copyright © 1996-2017
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Classes By Procedure In HNDWINDOWSSERVICEDEMO.APP