You can work with your control in a host application, such as Visual J++, Visual Basic, or Internet Explorer, as you would with any control. To run any control created in Visual J++, the following must reside on the host computer:
In addition, for each control you must distribute the following files:
Note If you are running the control on the computer where you built the control project, all of these files are already available.
After installing the files on the host computer, you must register the control as described in Registering a Control. You can then create instances of the control. In many host applications, you can add the control to a toolbox. For example, in Visual Basic, you can right-click the Toolbox, choose Components, and then select your control.
To use a control in Internet Explorer, create an <OBJECT> element. In the CLASSID attribute, identify your control in one of the following ways:
<OBJECT CLASSID="progid:MyProject.MyControl">
</OBJECT>
<OBJECT CLASSID="clsid:d0702fa0-fb3b-11d1-8f88-00aa00600a54">
</OBJECT>
<OBJECT CLASSID="JAVA:MyControl">
</OBJECT>