Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

SecureViewerReload

  • Last UpdatedOct 29, 2026
  • 1 minute read

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

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

SecureViewerReload

Module Activity

Synchronous

No

Not supported

Not supported

Not supported

Secure Viewer only

Not supported

Syntax

SecureViewerReload(strFileName)

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.

Return value

This function returns no value.

Examples

Reload the Secure Viewer with the configuration file that is specified by the tag configFile1:

SecureViewerReload(configFile1)

Reload the Secure Viewer with the configuration file that is located at the specified file path:

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

In This Topic