0

We are designing an application, part of which is a mashup of 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.

casperOne
  • 73,706
  • 19
  • 184
  • 253
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
  • @casperOne, the answer from Snake was exactly the information I required. – Shiraz Bhaiji Apr 29 '12 at 14:18
  • And yet, it's still there. Your question shows a lack of fundamental research. And Snake's answer is a link-only answer. Both are frowned upon on Stack Overflow. That said, both the question and answers require *severe* maintenance as the entire thing is likely to be deleted. – casperOne Apr 29 '12 at 14:22

3 Answers3

3

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.

Anemoia
  • 7,928
  • 7
  • 46
  • 71
3

You need to look at the System.Windows.Controls namespace and the WebBrowser control.

Lazarus
  • 41,906
  • 4
  • 43
  • 54
0

I figured it out:

  1. Add ieframe.dll to refrences
  2. do like you add the SHDocVw.WebBrowser to the application dynamicly.
  3. ???
  4. Profit.

You also need to make it so your wpf application can show COM components.

thakyZ
  • 113
  • 1
  • 2
  • 12