18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview of VBScript<br />

After inserting an ActiveX Control object on the screen, you can access properties and methods<br />

from this object from any VBScript interface associated with this screen. Use the syntax<br />

Object_Name.Properties_or_Method_Name. Examples:<br />

//Access the value of the property Day from the CalendarControl1 ActiveX object<br />

CalendarControl1.Day<br />

//Triggers the method AboutBox from the CalendarControl1 ActiveX object<br />

CalendarControl1.AboutBox<br />

Windows Embedded Support<br />

CEView also supports VBScript. The hardware manufacturer of the Microsoft Windows Embedded device<br />

must enable the support for VBScript on it, so CEView will be able to execute the scripts configured in<br />

VBScript language on the device.<br />

The MsgBox() and InputBox() functions can be specifically enabled/disabled by the hardware manufacturer<br />

when the image for the Windows Embedded device is created.<br />

If you are not sure if the image loaded on your device supports VBScript, please consult the hardware<br />

manufacturer.<br />

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

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

Saved successfully!

Ooh no, something went wrong!