I am also intrested in "electronic signature topic". I am looking a good example, and some detailed information about " CCESigDlg". (We have audit option RC and RT)
My task is ask two (or if it is not possible only 1) different electronic signature to an event of a button.
I have found some information in Wincc help. For exampe a VBS script exampe, but only this example is documented "forcecomment" switch.
Sub OnClick(ByVal Item)
Dim myesig
Dim mycomment
Dim ret
Set myesig = CreateObject("CCEsigDlg.ESIG")
'comment optional
myesig.forcecomment = false
ret = myesig.showDialog("winccadmin","winccadmin","SIMLOGSERV",1031,mycomment)
End Sub
In example (both C and VBS), user who make electronic signature is predefined as a string. ("winccadmin"), i want to use a dialog what have editable username field. Is it possible. Or do i have to ask the example project from Manheim? :)))