PslProjects.Open
Opens an existing project. If the project is already open, it will just be returned.
Syntax
Expression.Open (Path as Variant) as PslProject
Expression Object of type PslProjects
Path Path of the project, which is loaded.
Mode Variant, optional. Specifies the mode for opening the project. This value is ignored, if the project is already open. The following values are possible:
pslOpenNormal (default, Value = 1) : The project is opened in the normal, exclusive mode.
pslSharedSetup (Value = 20) : The project is opened in Shared Mode. The user can modify project settings and edit string lists. Only one user at a time can work in this mode.
pslSharedTranslation (Value = 36) : The project is opened in Shared Mode. The user can edit string lists.
pslSharedReadOnly (Value = 52) : The project is opened in Shared Mode. The user can view the string lists but cannot make changes.
Example
Dim prj As PslProject
Set prj = PSL.Projects.Open("c:\temp\Test.lpj")