|
-
Feb 19th, 2001, 05:08 PM
#1
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|