How to host web browser control
From reading the answers to other questions, it appears I need to host the web browser control in order to access the DOM from my WPF application. I need to access the form elements on the page so I can autocomplete for my kiosk application. Does anyone know HOW to host a web browser control into a WPF application? I tried System.Windows.Forms.WebBrowser and didn't get any autocomplete on it in my Interactive Designer.
God Bless,
Robert Hostetter
[457 byte] By [
rkcth] at [2007-12-24]
To host the WebBrowser (or any other Windows Forms control), you need to use Windows Forms interop: host the WindowsFormsHost control, and use that to host your Windows Forms control. You will need to include a reference to windowsformsinterop.dll in your project.
-Lauren Lavoie [MS]