|
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: Splash | ||||
| JumpStartSplashCHTBlue () | ||||
| Count | Local Template Name | Qty | Local Template Description | |
| (0007) | AppBuildDateTimeStamp(HNDTools) | 1 | AppBuildDateTimeStamp - An application build date/time stamp. | |
| (0008) | AppBuildNumberStamp(HNDTools) | 1 | AppBuildNumberStamp - An application build number or version stamp. | |
| (0009) | AppCopyRightStamp(HNDTools) | 1 | AppCopyRightStamp - An application copyright stamp. | |
| (0010) | HandyTellMeControl(HNDTools) | 1 | HandyTellMeControl - Text box control to provide a message or help text. | |
| (0011) | ProcedureImagesEx(HNDTools) | 1 | ProcedureImagesEx - A tool to better control the use of images and icons in your procedure. | |
| (5) Local Templates Found In JumpStartSplashCHTBlue | ||||
| 2 - Procedure Template Type: Menu | ||||
| EntryPointMain () | ||||
| Count | Local Template Name | Qty | Local Template Description | |
| (0012) | AppStartSplashProcedure(HNDTools) | 1 | AppStartSplashProcedure - Start the application Splash screen earlier with an option for threaded/unthreaded. | |
| (0013) | EmbedShellFunctions(HNDTools) | 1 | EmbedShellFunctions - An Instance Of: | |
| (0014) | EmbedWindowFunctions(HNDTools) | 1 | EmbedWindowFunctions - An Instance Of: | |
| (0015) | HandyHelpFileFetch(HNDTools) | 2 | HandyHelpFileFetch - Build A Help File Request To Your Website.(8) | |
| (0016) | HandyHelpWhatsNew(HNDTools) | 1 | HandyHelpWhatsNew - Build A What's New Request To Your Website.(6) | |
| (0017) | HandyWindowImage(HNDTools) | 1 | HandyWindowImage - Place a gradient-style image as a backdrop on the application window. | |
| (0018) | ProcedureImagesEx(HNDTools) | 1 | ProcedureImagesEx - A tool to better control the use of images and icons in your procedure. | |
| (7) Local Templates Found In EntryPointMain | ||||
Templates In Application: HNDWINDOWSSHELLDEMO.APP