all groups > asp.net webcontrols > january 2006 >
You're in the

asp.net webcontrols

group:

Communicating between windows control and web page



Communicating between windows control and web page poppy
1/30/2006 8:34:28 AM
asp.net webcontrols: I have a windows control hosted in IE which contains a bunch of methods

e.g getCurrentUser(int ID) as integer

How can I invoke this method from my web page, pass it the "int ID" and then
get access to the returned integer ?

I have been trying for ages but cant seem to crack this.

If I cannot do it with a windows control then can I do it if I build an
Activex control in vb 6.0 ?

Re: Communicating between windows control and web page Steve C. Orr [MVP, MCSD]
1/30/2006 10:14:47 AM
Assuming you've declared the control properly, you should be able to call
any methods or properties of the control normally with JavaScript.
Here are more details:
http://SteveOrr.net/articles/WinformControls.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


[quoted text, click to view]

AddThis Social Bookmark Button