18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Overview of VBScript<br />

Icon<br />

Type<br />

Real Tag<br />

String Tag<br />

Class Tag<br />

Function from the Built-in Scripting Language<br />

When you type the name of an ActiveX control that is inserted on the screen followed by the dot character ( . )<br />

on any VBScript interface from the screen where the ActiveX object is inserted, a list box will automatically<br />

open with the list of all properties and methods from the object:<br />

The items are displayed in alphabetic order, and each item has an icon to identify its main type, as follows:<br />

Icon<br />

Type<br />

Property from the ActiveX object<br />

Method from the ActiveX object<br />

Parameter Quick Info<br />

The Quick Info option displays pop-up boxes with the information about the functions from the Builtin<br />

Scripting Language. The information includes all the parameters supported by this function, with the<br />

currently configured one in bold text.<br />

Complete Word<br />

Complete word finishes a tag, member, field, function, or ActiveX property/method name once you have<br />

entered enough characters to disambiguate the term. After you type the first few letters of the name, you can<br />

press Ctrl+Space to complete the name automatically.<br />

VBScript Compared to VBA<br />

While VBScript and Visual Basic for Applications (VBA) are similar and are both based on the Visual Basic<br />

standard language, there are advantages to using VBScript for IWS users:<br />

• VBScript is supported for the Microsoft Windows Embedded operating system, and VBA is not.<br />

• VBScript brings active scripting to a wide variety of environments, including Web client scripting in<br />

Microsoft Internet Explorer. This prevents operations that may present risks for the Thin Client user, such<br />

as direct access to local files.<br />

• VBScript was designed to be simple and easy to learn, with some standards from VBA modified in<br />

VBScript to make it more straightforward. For example, in VBScript the user does not have to worry about<br />

the type of each variable when declaring them because VBScript assumes the proper type for each variable<br />

automatically.<br />

The following table lists VBScript features that VBA does not have.<br />

<strong>InduSoft</strong> Web Studio Page 783

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!