Home All Groups Group Topic Archive Search About

Communicating between windows control and web page

Author
30 Jan 2006 4:34 PM
poppy
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 ?

Author
30 Jan 2006 6:14 PM
Steve C. Orr [MVP, MCSD]
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


Show quoteHide quote
"poppy" <po***@discussions.microsoft.com> wrote in message
news:601651A0-E6B4-45C8-8613-1B82AD44446E@microsoft.com...
>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 ?
>
>

Bookmark and Share