Validate Electronic Signature using VBA

Hi, I am trying to validate a tag with Electronic Signature by using the ValidateSignatureAndWriteValue Method. I copied the example in the Automation Interfaces Help into the script of a Button in the graphics, but it did not work. It only pop up the message "Signature is not enabled on this node". I don't know which node did it refered to.

I am pretty sure that the node where the tag is assigned to is ES enabled because I am able to validate the ES when using the faceplate.

Thanks for help in advance.

Regards

Fooss