Hi All,
I'm facing difficulty in coding. I have a win App that has a web browser
control that host a website. Code is in VB.Net. The website have many web
pages. I want to execute win App methods from script in web pages.
I got some info but its in VC++.
Its like calling
window.external.yourMethod();
from javajscript. Can i code in VB.Net. There are things like
IDispatch.Invoke(), GetExternal()
Plz people its urgent....
U guys have any idea? Waiting for ur responses.....
Sachin
Arne Janning - 30 Jul 2004 05:47 GMT
> Hi All,
> I'm facing difficulty in coding. I have a win App that has a web browser
[quoted text clipped - 11 lines]
>
> Sachin
Hi Sachin,
it is possible to call a method (which can be written in any .NET
language) outside the IE-Control (like window.external.yourMethod()) and
it is also posssible to retrieve events from the IE-Control and write
EventHandlers in the hosting WinForms-application.
Read these two articles:
Giving desktop applications a Web look
http://www.codeproject.com/dotnet/dwebapp.asp
Using MSHTML Advanced Hosting Interfaces
http://www.codeproject.com/csharp/advhost.asp
Cheers
Arne Janning