K
Kenneth
Is there a way to detect if a given Word (doc) file has an attached
"Document template" which I mean under "Document template" section in
"Templates" pane (Tools--> Templates and Add-ins".
The condition is NOT using VBA macro (ActiveDocument.AttachedTemplate) or
automate a Word object. Reasons being:
I have an application running as a windows service on a Windows Advanced
server 2000. This is a VB.NET app that automate Word 2003 as COM object. The
app runs as "brappadmin" which is a domain account that is specially used by
my application (i.e. not a user account).
The problem: Some Word documents have attached template stored on shared
network drive. My app will freeze or got stuck wherever the account
"brappadmin" does not have access permission to the Word template. It will
work, however, if the path does not exist.
Any help is appreciated.
thanks.
Ken
"Document template" which I mean under "Document template" section in
"Templates" pane (Tools--> Templates and Add-ins".
The condition is NOT using VBA macro (ActiveDocument.AttachedTemplate) or
automate a Word object. Reasons being:
I have an application running as a windows service on a Windows Advanced
server 2000. This is a VB.NET app that automate Word 2003 as COM object. The
app runs as "brappadmin" which is a domain account that is specially used by
my application (i.e. not a user account).
The problem: Some Word documents have attached template stored on shared
network drive. My app will freeze or got stuck wherever the account
"brappadmin" does not have access permission to the Word template. It will
work, however, if the path does not exist.
Any help is appreciated.
thanks.
Ken