You can instantiate the ActiveX control without putting it on a form. To do this, make the control available in your development environment (this should already have been done if you followed the installation instructions) and simply create an instance of the object like you would any other variable. The object's type is "XceedEncryption".
Visual Basic |
Copy Code |
' Make sure you added the Xceed Encryption control to your object references. To do this, go to the Project menu and select the "References..." menu item, then checkmark the Xceed Encryption Library entry in the list of components.
' Here we define the type for our variable and instantiate it
Dim XceedEncryption1 As New XceedEncryption
' And now its as if the control was put on the form. |