
Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
>> Is there a way to tell if my digital cert is installed ?
>>
[quoted text clipped - 18 lines]
> The VBASigned property of a document tells you whether the VBA project is
> digitally signed.
Jonathan,
First off, it's nice to see this NG avaiable again.
VBProject.Protection: I don't belive that I'm not locking the project, so
this won't help.
VBASigned Property, I know that the document is signed, I signed it.
This doc, DigitalCert.dot has the digital cert that I use in the production
projects so that users and more importantly my unattended processes are not
paused and prompted that templates contain "our" macros, we know.
What I was looking for, was if our Digital Cert was installed on a users
computer, what I worked out was to save the Dot with a default field value
of "Please close and re-open....." But if they enable macros, the macro
updates the merge field and then it thanks them for doing so. But if they
failed to choose the Always trust check box I have no real way of knowing
that they did or not.
{ if "{DocProperty "ResultMsg"}" = "Valid" "Thank you..." "Please Close and
re-open...." }
I think the only way is to read the regestry and look for our certificate in
the store.
I was hoping that as the "Trusted Sources" tab displays any certs from the
store I could access that collection and know for certain that it was or not
installed.
TIA
JeffP....
Jonathan West - 03 Nov 2006 19:08 GMT
> I think the only way is to read the regestry and look for our certificate
> in the store.
I believe you are correct.
> I was hoping that as the "Trusted Sources" tab displays any certs from the
> store I could access that collection and know for certain that it was or
> not installed.
As far as I'm aware, that list is not available through the object model.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup