ReloadAppFromServer
- Last UpdatedOct 29, 2026
- 1 minute read
The function ReloadAppFromServer reloads the necessary project files from the server while maintaining the current state of the project on the client.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
ReloadAppFromServer |
System Info |
Synchronous |
No |
Supported |
Supported |
Not supported |
Supported |
Not supported |
Syntax
ReloadAppFromServer()
ReloadAppFromServer ( )
This function takes no parameters.
Returned value
This function always returns 0.
Notes
For this function, the server is the computer or device that hosts the downloadable project files (for example, screens) for your thin clients. It might be different from the project runtime server (also known as the data server), depending on how you deploy your project. For more information, see Thin Clients (including Mobile Access).
If the Enforce Web functionality equivalence in local project screens option is selected in the project settings, this function cannot be called in VBScript Global Procedures, VBScript scripts (script groups), or other background tasks. This is because the function behaves differently depending on whether you view project screens locally (that is, on the same computer that hosts the project runtime) or remotely. For more information, see Preferences tab.
Tip: Before you call this function, you can use the function IsAppChangedOnServer to check the project files that are already on the client. If they match the files on the server, you might choose not to call this function.