GohDiamond
"Access- Imagineer that!"
- Local time
- Yesterday, 22:34
- Joined
- Nov 1, 2006
- Messages
- 550
Is there a way to get the Full Name of Access.References programmatically?
I can get the short name using:
I'd like to return the common name as we see it in the Dialog Box.
Is it in the ref.collection(???) maybe? If so, how do I address that information?
Thanks for any help,
Goh
I can get the short name using:
Function CheckReferences()
Dim ref As Reference
Dim refName As String
For Each ref In Access.References
Debug.Print ref.Name & " " & ref.FullPath & " " & ref.Major & "." & ref.Minor
Next ref
End Function
But the Result is like:Dim ref As Reference
Dim refName As String
For Each ref In Access.References
Debug.Print ref.Name & " " & ref.FullPath & " " & ref.Major & "." & ref.Minor
Next ref
End Function
VBA
Access
DAO
What we commonly see in the Tools\References Dialog Box is like:Access
DAO
Visual Basic for Applications
Microsoft Access 12.0 Object Library
Microsoft Office 12.0 Access database engine Object Library
Microsoft Access 12.0 Object Library
Microsoft Office 12.0 Access database engine Object Library
I'd like to return the common name as we see it in the Dialog Box.
Is it in the ref.collection(???) maybe? If so, how do I address that information?
Thanks for any help,
Goh