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.

Appendix: Built-in Scripting Language<br />

Note: You cannot implement this function directly from a Text object.<br />

ProductVersion<br />

Returns the program version number.<br />

Function Group Execution Windows Embedded Thin Client<br />

ProductVersion System Info Synchronous Supported Supported Supported<br />

Syntax<br />

ProductVersion()<br />

This function takes no paramters.<br />

Returned value<br />

Returns the program version number as a real number.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ProductVersion() // Returned value = 7.000000<br />

RegSaveCE<br />

Saves the Windows Embedded system registry. This function will only work if the save registry capability is<br />

enabled in the Windows Embedded device image.<br />

Function Group Execution Windows Embedded Thin Client<br />

RegSaveCE System Info Synchronous Not supported Supported Not supported<br />

Syntax<br />

RegSaveCE()<br />

This function takes no paramters.<br />

Returned value<br />

0 Success.<br />

−1<br />

−2<br />

−3<br />

−4<br />

−5<br />

Failed to save HKEY_CLASSES_ROOT.<br />

Failed to save HKEY_CURRENT_USER.<br />

Failed to save HKEY_LOCAL_MACHINE.<br />

Failed to save HKEY_USERS.<br />

Function executed in NT platform.<br />

Note: This function calls the RegFlushKey function from the Windows CE API. The implementation<br />

of this function is OEM dependent therefore it is not guaranteed to work with all the Windows<br />

Embedded devices.<br />

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

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

Saved successfully!

Ooh no, something went wrong!