Remarks | Properties | Methods | Events | Samples |
ED
|
avaliable
|
RT
|
avaliable
|
Includes the whole application of the control system. This is
the only object in the hierarchy, that can be used by the internal
function GetObject of Visual Basic. You can only use GetObject, if
the Runtime of the control system is already running.
Attention:
Editor: ApplicationED Runtime: Application
Computer | Enabled | Hide |
MyWorkspace | Name | Path |
Version | VersionNumber | hWnd |
Activate | Close | DynPropertiesEnum[GET] |
DynProperties[GET] | DynProperties[PUT] | Projects |
zenOnPath[GET] |
Close | OnClose |
Public Sub GetProjects() Dim strResult As String Dim zPROJECT As Project Dim i As Integer 'get active project... strResult = "Active Project: " & MyWorkspace.ActiveDocument.Name & vbCrLf & vbCrLf 'get projects in workspace... strResult = strResult & "Projects in Workspace:" & vbCrLf For i = 0 To ApplicationED.Projects.Count - 1 Set zPROJECT = ApplicationED.Projects.Item(i) If Not zPROJECT Is Nothing Then strResult = strResult & zPROJECT.Name & vbCrLf End If Next i 'Show Result in a Messagebox MsgBox strResult, vbInformation, "GetProjects" End Sub