SetAppPath

Sets the new file path for the project folder. After this function is executed, IWS will look for all of the project files (i.e.,screens, alarms, trends, database, events) in this folder.

Function Group Execution Windows Embedded Thin Client
SetAppPath Module Activity Synchronous Supported Not supported Executed on Server

Syntax

SetAppPath(strPath)
strPath
The file path.

Returned value

0 Failed to set path.
1 Succeeded in setting path

Examples

Tag Name Expression
  SetAppPath( "C:\Studio\" )
Note: If the computer is on a network, you can use the //IP address or host name/Path syntax to define a location on another node of the network.