

Some examples give longer output, and CScript is better for them as you do not have to confirm each “line” of output by pressing a button as in WScript. It is possible to use CScript (console output) or WScript (window output) to run the examples. The examples here run in Windows Script Host (WSH), e.g. ReadAndDisplayValue_VBScript.htm: Reads and displays an OPC item value.The EasyOPC component must be installed on the client side, and the OPC server(s) must be accessible locally or remotely from the computer where EasyOPC component resides. The examples here run inside Internet Explorer (IE), i.e.

ReadAndDisplayValue_VBScript.asp: The simplest Web application.

The server must be in the Web Server (IIS) role, and in it, make sure you have the "Web Server -> Application Development -> ASP" role service. The EasyOPC component must be installed on the server side, and the OPC server(s) must be accessible locally or remotely from the computer where EasyOPC component resides. In order to run the examples, you need to configure an IIS virtual directory that points to the physical directory where the examples are installed.Įxamples in this folder are Web server scripts: the page, including OPC data, is generated on the server. These VBScript examples run in Internet Information Server (IIS).
