Performs a project upgrade on Citect SCADA projects. This function produces the same result as setting Upgrade=1 in the Citect.ini file.
Syntax
ProjectUpgradeAll
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Related Functions
ProjectSelect, ProjectSelected, ProjectFirst, ProjectNext, ProjectFirstInclude, ProjectNextInclude, ProjectUpgrade, ProjectPackLibraries, ProjectUpdatePages, ProjectPackDatabase, ProjectCompile
Example
On Error Resume Next
Err.Clear
GraphicsBuilder.ProjectUpgrade
If Err.Number <> 0 Then
Debug.Print "Error in ProjectUpgrade"
Err.Clear
Else
Debug.Print "ProjectUpgrade OK"
End If
Published June 2018