IFrame in WPF application [closed]
We are designing an application, part of which is a mashup 开发者_如何学Goof UI from a web application.
Is it possible to place the UI from a web site in a WPF application, as you would an IFrame?
The web page contains a Java applet.
http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx
You could use this, but it will Internet Explorer as the rendering engine, so I suppose that you need to have Java installed to use it. Be sure to test it.
You need to look at the System.Windows.Controls
namespace and the WebBrowser
control.
I figured it out:
- Add
ieframe.dll
to refrences - do like you add the
SHDocVw.WebBrowser
to the application dynamicly. - ???
- Profit.
You also need to make it so your wpf application can show COM
components.
精彩评论