M
microb0x
During the startup of my application I am setting a reference to the
Word 11.0 library and Office 11.0 library. I am pointing to DLL's that
are in a custom folder for my app, and not the common folder where
these usually reside.
The problem I'm having is when I go into the VBA editor and check the
references, although both of the libraries are listed as being
referenced; the location listed at the bottom of the references window
still shows the original path and not the custom path I have specified.
For Instance:
With the Microsoft Office 11.0 Library
Its default path is:
C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSO.DLL
the path I'm setting a reference to via code is:
C:\Program Files\Underwriting Authority\DLLs\MSO.DLL
Underwriting Authority of course being the name of my app and the
folder containing the front end.
The code I'm using to set the reference is as follows:
Application.References.AddFromFile (vDLLPath & "MSO.DLL")
vDLLPath is a string variable containing the path to my DLLs folder.
Can anyone shed any light on why it still shows the original path and
not my custom path in the VBA Editor? I would really appreciate this.
I have been having a hard time with references, adding/removing via VBA
Word 11.0 library and Office 11.0 library. I am pointing to DLL's that
are in a custom folder for my app, and not the common folder where
these usually reside.
The problem I'm having is when I go into the VBA editor and check the
references, although both of the libraries are listed as being
referenced; the location listed at the bottom of the references window
still shows the original path and not the custom path I have specified.
For Instance:
With the Microsoft Office 11.0 Library
Its default path is:
C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSO.DLL
the path I'm setting a reference to via code is:
C:\Program Files\Underwriting Authority\DLLs\MSO.DLL
Underwriting Authority of course being the name of my app and the
folder containing the front end.
The code I'm using to set the reference is as follows:
Application.References.AddFromFile (vDLLPath & "MSO.DLL")
vDLLPath is a string variable containing the path to my DLLs folder.
Can anyone shed any light on why it still shows the original path and
not my custom path in the VBA Editor? I would really appreciate this.
I have been having a hard time with references, adding/removing via VBA