Reference.FullPath Property

Access Developer Reference

The FullPath property returns a string containing the path and file name of the referenced type library.

Syntax

expression.FullPath

expression   A variable that represents a Reference object.

Remarks

If the IsBroken property setting of a Reference object is True, reading the FullPath property generates an error.

Example

The following example prints the value of the FullPath, GUID, IsBroken, Major, and Minor properties for each Reference object in the References collection:

Visual Basic for Applications
  Sub ReferenceProperties()
    Dim ref As Reference
' Enumerate through References collection.
For Each ref In References
    ' Check IsBroken property.
    If ref.IsBroken = False Then
        Debug.Print "Name: ", ref.Name
        Debug.Print "FullPath: ", ref.<strong class="bterm">FullPath</strong>
        Debug.Print "Version: ", ref.Major &amp; "." &amp; ref.Minor
    Else
        Debug.Print "GUIDs of broken references:"
        Debug.Print ref.GUID
    EndIf
Next ref

End Sub