Application.OpenProject
Method: OpenProject(strPath as String,bDiscardCurrent as Boolean,bDialog as Boolean)
Parameters
strPath
Path and file name of the project to open. Can be empty if bDialog is true.
bDiscardCurrent
Discard currently open project and possibly lose changes.
bDialog
Show dialogs for user input.
Return Value
None
Description
OpenProject opens an existing project. If there is already a project open that has been modified and bDiscardCurrent is false, then OpenProject() fails.
Errors
1111 | The application object is no longer valid. |
1100 | Invalid parameter or invalid address for the return parameter was specified. |
1101 | Cannot open specified project. |
1102 | A project is already open but bDiscardCurrent is true. |