Hi Walter,
Thanks... The links you provided helped me a lot to find a way to host a
windows forms control in .NET. I successfully hosted a .NET Windows Forms
control in IE and accessed it's properties using java script. I didn't try
out the events yet, but I think it will work. I did this using .NET 1.0
controls. I could not make it work in .NET 2.0. I saw a discussion on this
topic
(
http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx)
and I will try this again once I resolve my critical issue given below.
Though initially I thought I got the solution, my problem turned out to be
little different. In the current asp page I have a link and clicking this
link pops up the the ActiveX control. The ActiveX control (this is an OCX
control) has its own UI, and it looks like a standalone windows application
with control box, menus and the colse button (X button). The asp page that
launched this control interacts with it using java script.
All the solutions given on internet talk about hosting the control on IE,
which means the control should displayed on the asp page along with all
other information on the page. This will not work in my scenario. In my
case, the asp page will have a link and clicking this link should launch the
control in its own window, and the parent asp page should be able to access
the control's properties, methods, and events so that the data store( the
xml island on the parent asp page) is always updated whenever the data is
changed by the control. The data communicated between the control and the
asp page is in the form of xml strings with an average length of ten
thousand characters.
Please help me if you find any way for doing this. I am continuing my
research and will let you know if I come across any solution.
Thank you very much for the help,
Ted
[quoted text, click to view] "Walter Wang [MSFT]" <wawang@online.microsoft.com> wrote in message
news:ngWU6FlWHHA.1588@TK2MSFTNGHUB02.phx.gbl...
> Hi Ted,
>
> I am interested in this issue. Would you mind letting me know the result
> of
> the suggestions? If you need further assistance, feel free to let me know.
> I will be more than happy to be of assistance.
>
> Have a great day!
>
> Regards,
> Walter Wang (wawang@online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
>
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>