N
nobody
Hi,
I have written a "Signature" activex control for MS Word that allows users
to sign different ranges of a document and shows crossed out signature box
if the text in that range has been altered. I've put a template with a
toolbar button for inserting the control into an active document. Both the
control and the template (including VBA project in the template) are
digitally signed and work well - no macro security warnings - while
inserting new signatures to a documents. The problem arises when a user
opens the signed document, the unfamous message box "c:\...test.doc contains
macros ... may contain viruses..." pops up. The controls in the document
will work fine no matter if the user choses to enable or disable the macros.
The message box will disappear if I attach digital signature to the project
(containing only empty ThisDocument module) in the document, but how can I
do it programmatically?
I think the message box may disappear if I set the macro security level to
High, but changing the company wide policy would break a lot of users' apps.
Is there any way to suppress the message box if the macro security level is
medium and there is no macros in the document itself, only digitally signed
activex controls?
Alex.
I have written a "Signature" activex control for MS Word that allows users
to sign different ranges of a document and shows crossed out signature box
if the text in that range has been altered. I've put a template with a
toolbar button for inserting the control into an active document. Both the
control and the template (including VBA project in the template) are
digitally signed and work well - no macro security warnings - while
inserting new signatures to a documents. The problem arises when a user
opens the signed document, the unfamous message box "c:\...test.doc contains
macros ... may contain viruses..." pops up. The controls in the document
will work fine no matter if the user choses to enable or disable the macros.
The message box will disappear if I attach digital signature to the project
(containing only empty ThisDocument module) in the document, but how can I
do it programmatically?
I think the message box may disappear if I set the macro security level to
High, but changing the company wide policy would break a lot of users' apps.
Is there any way to suppress the message box if the macro security level is
medium and there is no macros in the document itself, only digitally signed
activex controls?
Alex.