|
This application illustrates how to use a CHT template called HandyCOMWindowsScriptHostControl. It incorporates a COM class wrapper for the MS Windows Script Host Object located in WSHOM.OCX. Windows Script Host provides a wide variety of low-level operating system configuration functions normally enabled in WScript, JScript and VBScript. Microsoft describes Windows Script Host as follows: "Windows Script Host (WSH), a feature of the Microsoft® Windows® 2000/XP family of operating systems, is a powerful multi-language scripting environment ideal for automating system administration tasks. Scripts running in the WSH environment can leverage the power of WSH objects and other COM-based technologies that support Automation, such as Windows Management Instrumentation (WMI) and Active Directory Service Interfaces (ADSI), to manage the Windows subsystems that are central to many system administration tasks." This template and its underlying wrapper class, HNDScriptHostClass based in modules HNDWSHOM.INC /HNDWSHOM.CLW /HNDWSHOM.TLB provide you the equivalent of running windows administration scripts from inside your Clarion application, using Clarion syntax rather than writing WScript, JScript or VBScript. 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 | AACHTControlPanel - CHT Global Control Panel. | |
| (0002) | ApplicationImagesEx(HNDTools) | 1 | ApplicationImagesEx - A tool to better control the use of images and icons in your application. | |
| (0003) | HNDCMPControlPanel(HNDTools) | 1 | HNDCMPControlPanel - Interface to the CHT Compile Manager. | |
| (0004) | HandyVersionResource(HNDTools) | 1 | HandyVersionResource - Version Resource/Build Number Information To EXE | |
| (0005) | INIFile(HNDTools) | 1 | INIFile - Attach CHT .INI FIle and Registry extension classes - HNDIni - globally to your application. | |
| (0006) | VblFileNames(HNDTools) | 1 | VblFileNames - Incorporate variable file names and defaults into your app from the dictionary. | |
| (6) Global Templates Found | ||||
| 1 - Procedure Template Type: Menu | ||||
| EntryPointMain () | ||||
| Count | Local Template Name | Qty | Local Template Description | |
| (0007) | AppStartSplashProcedure(HNDTools) | 1 | AppStartSplashProcedure - Start the application Splash screen earlier with an option for threaded/unthreaded. | |
| (0008) | EmbedWindowFunctions(HNDTools) | 1 | EmbedWindowFunctions - An Instance Of: | |
| (0009) | HandyCOMWindowsScriptHostControl(HNDTools) | 1 | HandyCOMWindowsScriptHostControl - CHT Wrapper For Windows Script Host Control.(4) | |
| (0010) | HandyHelpFileFetch(HNDTools) | 2 | HandyHelpFileFetch - Build A Help File Request To Your Website.(8) | |
| (0011) | HandyHelpWhatsNew(HNDTools) | 1 | HandyHelpWhatsNew - Build A What's New Request To Your Website.(6) | |
| (0012) | HandyWinCPDateTimePropsButton_WSHC(HNDTools) | 1 | HandyWinCPDateTimePropsButton_WSHC - A button that opens Windows Control Panel Date/Time Properties dialog. | |
| (0013) | HandyWinCPDisplayPropsButton_WSHC(HNDTools) | 1 | HandyWinCPDisplayPropsButton_WSHC - A button that opens Windows Control Panel Display Properties. | |
| (0014) | HandyWinCPInternetPropsButton_WSHC(HNDTools) | 1 | HandyWinCPInternetPropsButton_WSHC - A button that opens Windows Control Panel Internet Properties dialog. | |
| (0015) | HandyWinCPSystemPropsButton_WSHC(HNDTools) | 1 | HandyWinCPSystemPropsButton_WSHC - A button that opens Windows Control Panel System Properties. | |
| (0016) | HandyWindowImage(HNDTools) | 1 | HandyWindowImage - Place a gradient-style image as a backdrop on the application window. | |
| (0017) | ProcedureImagesEx(HNDTools) | 1 | ProcedureImagesEx - A tool to better control the use of images and icons in your procedure. | |
| (11) Local Templates Found In EntryPointMain | ||||
| 2 - Procedure Template Type: Splash | ||||
| JumpStartSplashCHTBlue () | ||||
| Count | Local Template Name | Qty | Local Template Description | |
| (0018) | AppBuildDateTimeStamp(HNDTools) | 1 | AppBuildDateTimeStamp - An application build date/time stamp. | |
| (0019) | AppBuildNumberStamp(HNDTools) | 1 | AppBuildNumberStamp - An application build number or version stamp. | |
| (0020) | AppCopyRightStamp(HNDTools) | 1 | AppCopyRightStamp - An application copyright stamp. | |
| (0021) | HandyTellMeControl(HNDTools) | 1 | HandyTellMeControl - Text box control to provide a message or help text. | |
| (0022) | ProcedureImagesEx(HNDTools) | 1 | ProcedureImagesEx - A tool to better control the use of images and icons in your procedure. | |
| (5) Local Templates Found In JumpStartSplashCHTBlue | ||||
Templates In Application: HNDWINDOWSSCRIPTHOSTDEMO.APP