ProjectOpen Method
Description
Opens an existing project.
All of the SWDs and NOL files in the target folder will be opened.
Note: The ProjectOpen Method replaces the WorkspaceOpen Method which was used in previous versions of Cadcorp SIS.
Syntax
Visual Basic |
---|
Public Function ProjectOpen( _ ByVal folder As String, _ ByVal savecode As Integer, _ ) As Integer |
Parameters
- folder
- The path to the project folder containing the project(s) to be opened.
-
- savecode
-
0 Do not save any modified datasets and/or SWDs. 1 Save all modified datasets and/or SWDs. 2 Prompt the user with each modified dataset and/or SWD.
Remarks
Available: GEO D OD OM SISpy
Group:
Example
sis.ProjectOpen("C:\\Projects\\Project1",0)