
Custom Properties in VB Control
Hello,
I am trying to create an ActiveX Control that has a custom
property. I want this property to be able to be set like the
other ambient properties from the HTML page using the
<PARAM> tags. I would appreciate any help on creating
such a control that could read a custom property set by the HTML
page in VB5.
My thinking was... In the HTML
==================================
<object...>
<PARAM NAME="CustomProperty" VALUE="xyz">
</object>
And in the VB Code...
==================================
Public CustomProperty As String
Private Sub UserControl_Click()
UserControl.txtTest.Text = UserControl.CustomProperty
End Sub
Thus hopefully setting the textbox on the ActiveX Control = "xyz"
I am new to VB shooting in the dark... Help Greatly Appreciated!
Thank You,
Damon Regan