-
I've created an ActiveX-object (UserControl) to be used on a web page (about like the snippet below)
The problem I have is, I want the routine to read a parameter passed to it .
In Java-world applets access their attributes with the getParameter()-method.
How do ActiveX - used on a web-page - access their attributes??
Can anyone help?
Thanks,
Morten
:confused:
----
<!--
<HTML>
<BODY>
...
<OBJECT
ID="Example" CLASSID="CLSID:XXX..X"
CODEBASE="Example.OCX">
<PARAM name="name1" value="value1">
</OBJECT>
...
</BODY>
</HTML>
-->
-
Use the ActiveX Control Interface Wizard to Create properties which will receive your <param> tag values.
-
Use ActiveX Controls ReadProperty Event To Get Parameters from <Param...> Tags