Real’s Howto WSH VBScript
These How-to’s are about the usage of VBScript used with the Window Scripting Host (WSH). WSH enables scripts to be executed directly on the Windows desktop or command console, without the need to embed those scripts in an HTML document. Scripts can be run directly from the desktop simply by clicking on a script file ( .vbs for VBScript), or from the command console. The WSHost is included with all recent Windows versions or it can be freely downloaded from Microsoft or here
Read more
Understanding the Windows Scripting Host
One of Windows’s most notable deficiencies when compared with other operating systems is its lack of a batch language for automating tasks. Although the underlying MS-DOS supports batch files, they are of little use in the Windows environment: under Windows 3.1 you can’t even launch Windows programs from batch files. Support staff wishing to automate tasks for their users have been forced to use third-party tools like Wilson WinBatch or JP Software’s Take Command. Because these tools are not part of Windows, they must be separately installed before they can be used. Licensing of these toolsmeans that additional costs are often incurred, which, if the budget is not available, becomes a problem.
Read more
Simple Dialogs in WSH
Most WSH scripts show results in dialog boxes or ask for user input. This chapter introduces a few techniques offered in JScript and VBScript to create dialogs within WSH scripts.
Read more
VBScript Database Tutorial Part 1 to 4
Probably the most popular use for ASP scripting is connections to databases. It’s incredibly useful and surprisingly easy to do. The first thing you need is the database, of course. A variety of programs can be used to create it, but probably the most popular is Microsoft Access. You can also use FoxPro or create it directly in an SQL Server using whichever utilities are supplied with the server (Enterprise Manager in the case of Microsoft SQL Server), or native SQL commands.
Read more
Getting Started with ActiveX Automation Using VB.NET
ActiveX Automation, also known as COM (Common Object Model) or simply Automation, is a Microsoft standard for interaction between Windows programs. The standard enables one application to use the functions of another application in such a smoothly integrated way that the two programs appear to be a single program. The former application is known as the client and the latter is called the server.
Read more