K
K
I am writing a VB/VB.Net addin to check that the global template
addins in Word have not been disabled (usually have been disabled
because Word has crashed). We need to check each time someone opens
Word and re-enable.
I have written a VBA macro that checks for this very successfully (but
if it's disabled because of the crash, it won't run), but when I make
a reference to the Word object model in VB or VB.Net it does not work
the same way.
My addins:
Global.dot - STARTUP
Test1.dot - STARTUP
Test2.dot - STARTUP
Another.dot - My Documents
When I loop through the 'Addins' collection in VBA, it picks up all of
these templates. When I loop through in VB or VB.Net, it only picks
up 'Another.dot' (or any template not stored in the STARTUP folder).
Has anyone seen this before or have any ideas how I can check that the
STARTUP templates are enabled/installed.
Many thanks
addins in Word have not been disabled (usually have been disabled
because Word has crashed). We need to check each time someone opens
Word and re-enable.
I have written a VBA macro that checks for this very successfully (but
if it's disabled because of the crash, it won't run), but when I make
a reference to the Word object model in VB or VB.Net it does not work
the same way.
My addins:
Global.dot - STARTUP
Test1.dot - STARTUP
Test2.dot - STARTUP
Another.dot - My Documents
When I loop through the 'Addins' collection in VBA, it picks up all of
these templates. When I loop through in VB or VB.Net, it only picks
up 'Another.dot' (or any template not stored in the STARTUP folder).
Has anyone seen this before or have any ideas how I can check that the
STARTUP templates are enabled/installed.
Many thanks