|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Communicating between windows control and web pageI 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 ? 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 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 ? > >
Other interesting topics
Error: Content is not allowed between the opening and closing tags for element
Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC)) Date masked textbox for user input ASP.NET 2.0 Databind during Client Callback How to Catch exception for GridView control? DropDownList resets selectedIndex on postback Strange behavior with gridview and selectedindex need help in web user control CheckboxList problem Need Help: AccessDataSource and Assigning Variables for Data (ASP 2.0) |
|||||||||||||||||||||||