Quote:
quote:Originally posted by aaryan
Hi Sandeep Kothari,
Ur piece of code worked for me...
this piece of code works only when u click yes.....
that's part of the security....
|
Hi,
I click yes and the control does not get displayed at all on the page. if I click no the control gets displayed, but the value is not populated.
Here is my code:
Public sTest As String
Private Sub Command1_Click()
MsgBox sTest
End Sub
Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
sTest = PropBag.ReadProperty("Test")
End Sub
and html:
<HTML><BODY><OBJECT id="uc1" classid="clsid:DBA2F732-40A2-42E2-AC1F-56E853C0B616" codebase="prjOX.ocx">
<PARAM NAME="Test" VALUE="aaa" >
</OBJECT></BODY></HTML>
Please help.
Thx