Hi,

I am a newbie to activeX Controls and have a question about passing "PARAM" from HTML page to an
activeX control.
I am trying to pass parameters from HTML page onto an activeX Control using "PARAM NAME="" VALUE="".but am having problems with accessing the param value inside the activeX Control.

activeX.html
---------------
<OBJECT CODEBASE=/Project1.ocx
CLASSID="...."
<PARAM NAME="test" VALUE="100">
</OBJECT>

In my UserControl1.ctl how do i access the value of the param "TEST"

In my activeX Control(UserControl1.ctl) I am using get() and set() methods as:

Private mtest As String

Property Get test() As String
' Use the Set statement for object references.
test = mtest
End Property

Public Property Set test(NewParent)
mtest = NewParent
End Property

Private Sub myButton_Click()
Print ("mtest=" + mtest)
End Sub

But, when I run it and click on the button it doesn't display anything for mtest.

Can someone please help me with this??

thanks a lot.