Xceed Streaming Compression Library Documentation
Xceed Streaming Compression control reference / Formless use of the control
In This Topic
    Formless use of the control
    In This Topic

    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 "XceedStreamingCompression".

    Visual Basic Copy Code

    ' Make sure you added the Xceed Streaming Compression control to your object
    ' references. To do this, go to the Project menu and select the "References..." menu item,
    ' then checkmark the Xceed Streaming Compression Library entry in the list of components.

    ' Here we define the type for our variable and instantiate it

    Dim XceedStreamingCompression1 As New XceedStreamingCompression

    ' And now its as if the control was put on the form.