Syntax

expression.ShowSignatureCertificate(ParentWindow)

expression An expression that returns a SignatureInfo object.

Parameters

Name Required/Optional Data Type Description
ParentWindow Required IOleWindow Contains the handle to the window containing the Certificate dialog box.

Example

The following example displays a digital certificate in the window specified by the Hwnd argument.

Visual Basic for Applications
Sub DisplayCertificate(ByVal intHwnd As Long) Dim objSignatureInfo As SignatureInfo Dim objDialog As Object objDialog = objSignatureInfo.ShowSignatureCertificate(intHwnd) End Sub

See also: