How do I create your ActiveX objects dynamically?

First, make a reference to the OCX you want to use. In VB, you do this in Tools->References.

Then Dim the object:

Dim http1 As http

or

Dim withevents http1 as http

Later, in your code, new the instance:

set http1 = new http

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.