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