|
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) |
| PROCEDURE (1): JumpStartSplashCHTBlue (Procedure Template: Splash) |
|||||
| Count | Instance | Class | Type | Methods | Header File |
| (0001) | HTellMe | HNDWindow | HND | 197 | HNDWINDO.INC |
| (0002) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
| (0003) | ThisWindow | WindowManager | ABC | 38 | ABWINDOW.INC |
| (3) Class Instances Found In JumpStartSplashCHTBlue | |||||
| PROCEDURE (2): EntryPointMain (Procedure Template: Menu) |
|||||
| Count | Instance | Class | Type | Methods | Header File |
| (0001) | SHELL | HNDShell | HND | 88 | HNDSHELL.INC |
| (0002) | HWin | HNDWindow | HND | 197 | HNDWINDO.INC |
| (0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
| (0004) | ThisWindow | WindowManager | ABC | 38 | ABWINDOW.INC |
| (4) Class Instances Found In EntryPointMain | |||||
Classes By Procedure In HNDWINDOWSSHELLDEMO.APP