sprungli
2004-08-20 02:47:52 UTC
My Word template is a client of a COM object (a .NET component wrapped in a
CCW), which in turn accesses a disk file on the local machine. Every
possible user in any role on this machine has full control rights on that
file (testing scenario). There is also a parallel managed client to test
reading from/writing to the file and both operations work as expected. The
VBA project inside the template calls exactly the same methods as the
managed client. With the VBA debugger I can see the COM object is well there
when referenced. The Word template can read from the file but cannot write
to it. I am almost sure the problem is in the security settings of Word XP,
but don't know exactly where. Anyone who has run into a similar problem, or
has any clue, or can suggest a relevant reading, please help.
TIA
(I have tried setting Security Level to Low with Trust all installed add-ins
and templates, and Trust access to VB Project checked, but got the same
result.)
CCW), which in turn accesses a disk file on the local machine. Every
possible user in any role on this machine has full control rights on that
file (testing scenario). There is also a parallel managed client to test
reading from/writing to the file and both operations work as expected. The
VBA project inside the template calls exactly the same methods as the
managed client. With the VBA debugger I can see the COM object is well there
when referenced. The Word template can read from the file but cannot write
to it. I am almost sure the problem is in the security settings of Word XP,
but don't know exactly where. Anyone who has run into a similar problem, or
has any clue, or can suggest a relevant reading, please help.
TIA
(I have tried setting Security Level to Low with Trust all installed add-ins
and templates, and Trust access to VB Project checked, but got the same
result.)