GENERATED: JUL 11,2017 - 12:24AM
CHT Service-Up Local [V10.17.05.0153]

Previous Page
This application illustrates how to control and communicate with a windows service located on the same machine. It allows you to bring up the service's window, to dismiss and minimize it, to start and stop the service and to pass configuration information to the service without physically interacting with the service's own window.

This specific example application enteracts with another CHT demo application called hndwindowsservicedemo.app, but an application of this sort could be made to control multiple services running on the same hardware.

Key templates installed are EmbedWindowFunctions to handle inter-application communication by posting events to the target service's window, EmbedShellFunctions to handle starting and stopping the target service and HandyServiceRemoteControlButtons_ESHF to write all the remote control code.

Any questions, feel free to ask: news.cwhandy.com

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) HNDCMPControlPanel(HNDTools) 1 CHT HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0004) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(4) Global Templates Found

1 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0005) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0006) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0007) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0008) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0009) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(5) Local Templates Found In JumpStartSplashCHTBlue

2 - Procedure Template Type: Window
Main ()
Count Local Template Name Qty Local Template Description
(0010) AppStartSplashProcedure(HNDTools) 1 CHT AppStartSplashProcedure - Application Splash screen earlier with an option for threaded/unthreaded.
(0011) CloseButton(ABC) 1 Close the Window
(0012) EmbedShellFunctions(HNDTools) 1 CHT EmbedShellFunctions - An Instance Of:
(0013) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0014) HandyFileDialogSelectButton_ESHF(HNDTools) 2 CHT HandyFileDialogSelectButton_ESHF - A button that selects a single file into an entry field.(19)
(0015) HandyHelpFileFetch(HNDTools) 2 CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(14)
(0016) HandyHelpWhatsNew(HNDTools) 1 CHT HandyHelpWhatsNew - Build A What's New Request To Your Website.(15)
(0017) HandyServiceRemoteControlButtons_ESHF(HNDTools) 2 CHT HandyServiceRemoteControlButtons_ESHF - Buttons that controls a CHT-based NT Service from another application running locally.(5)
(0018) HandyTimeEnterAndSaveControl(HNDTools) 2 CHT HandyTimeEnterAndSaveControl - A time spin control that saves to and restores from app configuration.(18)
(0019) PostControlEvent(HNDTools) 5 CHT Post an event to a control in a local window(13)
(0020) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(11) 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: HNDSERVICEUP.APP