Page 1 of 1

An error message in webbrowser control.

Posted: Sat Mar 18, 2017 2:50 am
by Woodcutter
Hey Aleksey:

I made a winform program then use below code:

TextBox1.Text="http://202.105.139.132:7088/orbitWCFSer ... Styles.mrt";
webBrowser1.Navigate(textBox1.Text);

Always got an error message when open the web url, but IE browser is OK.

OS:Windows 10, IDE: VS-2015

Thanks for your help!

Henry

Re: An error message in webbrowser control.

Posted: Mon Mar 20, 2017 5:51 am
by Woodcutter
Hey :

Does anyone meet this problem?

Henry.

Re: An error message in webbrowser control.

Posted: Mon Mar 20, 2017 5:15 pm
by HighAley
Hello, Henry.

Unfortunately, the Browser component for WinForms has some restrictions.
The HTML5 WebViewer can't work correct there. So you see this message.

We can suggest you 2 solutions:

1. Try to use the WebViewerFx (Flash based). Maybe it will work right in your WinForms application.

2. You could try to use HTML export in code and show the exported report in the Browser component.

Thank you.