S
Stewart Berman
Given the following scenario:
There is a reference to in the VBA project in an MS Access database to a dll that not only isn't
registered but it doesn't exist on the computer. The Guid for the dll does not exist in the
registry.
If you open the VBA project (Alt-F11) and select Tools\References you will see the reference
identified as for example:
MISSING: Orbix COMet Types
And if you select that row you will see:
Location: C:\program files\Orbix.301\COMet\Bin\ITStdObjs.DLL
Which is were it was on the computer that the application was originally built on.
My question is how can you get that information from the application database?
If you try and walk the References collection the system will throw an error if you try to access
the FullPath property of the broken reference:
Error[-2147319779]: Method 'FullPath' of object 'Reference' failed
Where does the VBA IDE get the path information from? The Guid property is available but in this
case the Guid does not exist in the registry so it doesn't get it from the registry.
There is a reference to in the VBA project in an MS Access database to a dll that not only isn't
registered but it doesn't exist on the computer. The Guid for the dll does not exist in the
registry.
If you open the VBA project (Alt-F11) and select Tools\References you will see the reference
identified as for example:
MISSING: Orbix COMet Types
And if you select that row you will see:
Location: C:\program files\Orbix.301\COMet\Bin\ITStdObjs.DLL
Which is were it was on the computer that the application was originally built on.
My question is how can you get that information from the application database?
If you try and walk the References collection the system will throw an error if you try to access
the FullPath property of the broken reference:
Error[-2147319779]: Method 'FullPath' of object 'Reference' failed
Where does the VBA IDE get the path information from? The Guid property is available but in this
case the Guid does not exist in the registry so it doesn't get it from the registry.