Vote UpVote

Two way interaction with JavaScript in Winforms using Webbrowser

Coding Power Unleashed – In a recent project I had to integrate Google maps into a Winforms application. To use Google Maps from a desktop client you must be able to call the Javascript in webpage, which can be done with the Webbrowser component. Calling JavaScript from C# Calling JavaScript in a Webbrowser component is very easy. JavaScript is exposed through the IHTMLWindow2 interface which can be referenced from the IHTMLDocument2 interface through the parentWindow property. doc = webBrowser1.Document. DomDocument as IHTMLDocument2;doc.parentWindow.execScript("createMapMarker ...
Favorite? Off-Topic? Roland Beenhakker @ 2010-03-09 14:10


Visits: 532
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)