SecureViewerReload

SecureViewerReload is a built-in scripting function that closes the Secure Viewer program and then reloads it with a new configuration file.

Function Group Execution Windows Embedded Thin Client
SecureViewerReload Module Activity Synchronous Not Supported Not Supported Secure Viewer only

Syntax

SecureViewerReload(strFileName)
strFileName
The file path of an INI file (*.ini) that describes the new configuration. (If the file is located in the same folder as Viewer.exe, then only the file name is needed.) The file should be structured the same and contain all of the same settings as the default configuration file (Viewer.ini).

This parameter must specify either the name of a String tag or a text string enclosed in quotes.

Returned value

This function does not return any value.

Examples

SecureViewerReload( configFile1 )
SecureViewerReload( "C:\Program Files\Secure Viewer\Bin\Config1.ini" )