S
Siim
When I use
"ActiveDocument.AttachedTemplate.VBProject.References.AddFromFile" and add a
reference to something like "X:\xxx\xxx.dot" it adds a reference to
"\\Servername\xxx\xxx.dot".
I have a global template started from the Word Startup directory. At the
beginning of my code I add a reference in the above mentioned way to be able
to access methods in my global module. When I now look in the Tools-Add Ins
dialog I now have two references to the same template (and double menu bars
from my template). One reference with UNC-path and one without.
I use Word 2003. In earlier Word versions it works fine
Does anyone have any idea how to get rid of these double references?
Is the only way to set the path to the Startup directory using UNC notation?
Thanks in advance,
Siim
"ActiveDocument.AttachedTemplate.VBProject.References.AddFromFile" and add a
reference to something like "X:\xxx\xxx.dot" it adds a reference to
"\\Servername\xxx\xxx.dot".
I have a global template started from the Word Startup directory. At the
beginning of my code I add a reference in the above mentioned way to be able
to access methods in my global module. When I now look in the Tools-Add Ins
dialog I now have two references to the same template (and double menu bars
from my template). One reference with UNC-path and one without.
I use Word 2003. In earlier Word versions it works fine
Does anyone have any idea how to get rid of these double references?
Is the only way to set the path to the Startup directory using UNC notation?
Thanks in advance,
Siim