File Example

Land Auto

File Example

Sub Example_File()
    
    ' This example returns the File for the first FileLock in the collection.
    Dim filelock As AeccFileLock
    Set filelock = AeccApplication.ActiveProject.fileLocks.Item(0)
    
    MsgBox "The File of the first FileLock in the collection is: " & filelock.File, _
        vbInformation, "File Example"
    
End Sub