Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing parameters to ocx on html page

Status
Not open for further replies.

psteja2000

Programmer
Feb 1, 2005
82
0
0
US

Hi,

I have a .ocx that I am calling on a html page using <object>.

The .ocx basically provides me with a container where I have a button when clicked it will connect to a server etc.
I want to take the server IP as input from outside the ocx.

Meaning, in my html page, I want to do
<object....>
<param name="serverIP" value="...">
</object>

in the ocx, now where do I access these params?

In the usercontrol_readproperties().
Is taht correct? for some reason it is not working and the whole ocx fails to show on the page .

What am I doing wrong?

regards,
Teja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top