Version 1.0 - Date 16-August-2000 See below for English translation German ------- Version 1.0 des WSHShellExtend.ocx Moduls. Das Modul stellt Methoden zum Zugriff auf die Windows- Shell (per API) bereit. Dies erlaubt Ihnen erstaunliche Funktionen wie Drucken beliebiger (registrierter) Dateitypen, löschen des Papierkorbs oder Aufruf der Windows-Dialoge Öffnen bzw. Speichern unter (auch ohne Visual Basic Installation). Die Objektinstanz wird mit folgender Anweisung erstellt: Set oShellEx = WScript.CreateObject("ShellExtension.ShellObjects") Anschließend stehen über die Objektvariable oShellEx verschiedene Methoden bereit. Hinweise zur Handhabung entnehmen Sie den im ZIP-Archiv beiliegenden Beispielen. Weitere Details finden Sie im Buch "Inside Windows Script Host", 2. Auflage", Microsoft Press, ISBN 3-86063-616-2. Im Buch werden nicht nur die Methoden sondern auch der Quellcode des ActiveX (in Visual Basic mit VB 5 CCE erstellt) sowie die API-Schnittstellen der Shell besprochen. Die im Archiv enthaltenen VBScript-Beispiele demonstrieren den Umgang mit der ActiveX-Komponente. Rückmeldungen bezüglich der Funktionalität an GBorn@Borncity.de. Das Modul wird folgendermaßen registriert: RegSvr32.exe path\WSHShellextension.ocx Die Registrierung lässt sich mit folgendem Befehl aufheben: RegSvr32.exe /u path\WSHShellextension.ocx Achtung: Die ActiveX-Komponente benötigt die VB5-Laufzeit- Bibliothek. Falls es Probleme bei der Benutzung gibt, am besten die komplette Version des WSHExtend.zip Moduls einmalig installieren. Dann werden die Laufzeit- bibliotheken installiert. Das ActiveX Modul kommt ohne jegliche Gewährleistung und Support. Benutzung auf eigene Gefahr. Der Autor übernimmt keine Haftung für Folgen des Einsatzes. English ------- Version 1.0 of WSHShellExtend.ocx. The ActiveX control provides methods to access the Windows shell (some API calls not exposed from "Shell.Application"). This enables your scripts to use new features like print any registered file type (if a print verb is defined), emty recycle bin, activate verbs on filetypes or use the Windows open and save as dialogs (without installing a licensing software like Visual Basic). Use the following statements to create an object instance: Set oShellEx = WScript.CreateObject("ShellExtension.ShellObjects") Afterwards your script may use the oShellEx object variable to access the methods of this objects. Have a look at the sample files to find out how to use these methods (I haven't finished my English Readme till yet). The details (including the source code of the ActiveX, written in Visual Basic using VB 5 CCE) are already discussed in my German MS Press title "Inside Windows Script Host", 2nd Edition, ISBN 3-86063-616-2. The details will be also discussed in the Microsoft Press USA title "Advanced Development with Microsoft Windows Script Host 2.0". The WSH basics are discussed in the Microsoft Press title "Microsoft Windows Script Host Developer's Guide", which is already available in English. The control may be registered using: RegSvr32.exe path\WSHShellextension.ocx Unregistering may be done with: RegSvr32.exe /u path\WSHShellextension.ocx Note that the control needs VB5 Run-Time modules. If the control fails (reporting missing VB5 files), download the WSHExtend.zip control from the WSH Bazaar. If one VB 5 Application is installed, the control should run. Feedback about trouble may be reported to GBorn@Borncity.de. The control comes without any warranty and support. I have tested it unter Windows Me. In no way shall the author be liable for losses, damages or whatever else. G. Born www.borncity.de Home of the WSH Bazaar