How do i make an ActiveX control and use it in my HTML file?
Never done this before so I don't know much about it.

I have tried to make one control, and then tried to send a parameter from HTML to the control-ocx.

Neither MsgBox of my ActiveX-control displays anything.
The program runs.
The important part it to pass data to the control. Several parameters(10 to 20 strings).

The HTML part:
Code:
<OBJECT
CLASSID="clsid:413B59C7-6F64-11D4-9A86-00A024E28D1D"
CODEBASE="P:\vb\controls\wordrun.ocx"
ID=mycmd 
WIDTH=81 
HEIGHT=25>
<PARAM NAME="Value" VALUE="Hi. This is a public property">
<PARAM NAME="Tag" VALUE="The tag prop of the UserControl">
</OBJECT>
The VB part: (1 control - cmdWord - with the caption "Word" on it)
Code:
Public Value As String
Private Sub cmdWord_Click()
    MsgBox UserControl.Tag
    MsgBox Value
    Shell "L:\Msoffi97\Office\Winword.exe"
End Sub