GENERATED: JUL 10,2017 - 11:57PM
CHT Windows Script Host Demo [V10.17.05.0185]

Previous Page
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 Window 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):
EntryPointMain (Procedure Template: Menu)
Count Instance Class Type Methods Header File
(0001) SCRIPT HNDScriptHostClass HND 91 HNDWSHOM.INC
(0002) HWin HNDWindow HND 214 HNDWINDO.INC
(0003) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0004) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(4) Class Instances Found In EntryPointMain


 
PROCEDURE (2):
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


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

chtlogo001.gif Classes By Procedure In HNDWINDOWSSCRIPTHOSTDEMO.APP