CimProject.OpenLocalProject (method)

Opens the project and sets up the environment to properly access the given project
Syntax: Boolean = object.OpenLocalProject ( path )
path As String - A string representing the path to the project (e.g. c:\myproject\myproject.gef")
Description: The CimProject.OpenLocalProject method allows you to connect a CimProject object to a project located on an accessible file system. The project object will be created on your current computer. Alternatively the CimSystem object can allow you to attach to a project object running on a remote computer using DCOM. Note: OpenLocalProject will return False if the file does not exist or if a Version Upgrade is required.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimplicity\hmi\projects\cimpdemo\cimpdemo.gef"