Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

Can I use a WebBrowser control in a control embedded in an Internet Explorer web page?

I use a WebBrowser control in a Windows Forms control. When this control is used in an EXE, it works fine. But when I embed this control in a IE web page, the WebBrowser in it doesn't work (could not show any web page).

Why can't the WebBrowser control be used in this situation? Is there any work around?

Sorry, but that scenario was explicitly disabled for security reasons. This case opened up a number of interesting security concerns.

Could it be supported in future version? At this time, I could use other controls such as RichTextBox to show formatted text. But in future, I do want to show a web page in my program. My program is a control embeded in a IE web page.

This scenario is not supported by design. Due to the security concerns, I doubt this will be enabled for future versions.



Page view counter