|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
Hello, I have a problem to load an url in the eo.webbrowser (error -3 The request was canceled) on windows 10, on windows 8 or 7 it's works fine.
here is my code in VB.NET just for the test :
(just a form with one button who load the url:www.google.fr in an eo.webviewer)
Public Class Form1
Public WithEvents myEOBrowser As EO.WebBrowser.WinForm.WebControl Public WithEvents myEOViewer As EO.WebBrowser.WebView
Public Sub New()
' Cet appel est requis par le concepteur. InitializeComponent() End Sub
Private Sub myEOViewer_LoadFailed(sender As Object, e As EO.WebBrowser.LoadFailedEventArgs) Handles myEOViewer.LoadFailed MessageBox.Show("LoadFailed : erreur n° " & e.ErrorCode & " : " & e.ErrorMessage) End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Try 'EO.WebBrowser.Runtime.AddLicense("here is my licence number ....") EO.WebBrowser.Runtime.CachePath = My.Application.Info.DirectoryPath & "\Cache" myEOViewer = New EO.WebBrowser.WebView myEOViewer.LoadUrl("http://www.google.fr") myEOBrowser = New EO.WebBrowser.WinForm.WebControl myEOBrowser.WebView = myEOViewer myEOBrowser.Size = Me.ClientSize myEOBrowser.Anchor = AnchorStyles.Top + AnchorStyles.Bottom + AnchorStyles.Left + AnchorStyles.Right EO.WebBrowser.Runtime.CachePath = My.Application.Info.DirectoryPath & "\Cache" Me.Controls.Add(myEOBrowser) System.Windows.Forms.Application.DoEvents() Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub End Class
Best regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Do you get the error message displayed in the WebView or you actually got an exception?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
Hi, It's not display in the WebView, it's show by the event myEOViewer_LoadFailed thru the MessageBox.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This looks like a bug that we have just fixed. We will post a new build either tomorrow or during the weekend. You can update to that build and see if you still have problem Once it's out. If you still have problem, then we may need a test project from you in order to investigate further.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
Hello, I'm still waiting for a solution.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We have posted the new build (.49) on our download page. Please see if that build fixes the issue for you. If you still have problems, please send a test project to us and we will investigate further. See here for more information about sending test project to us: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
I'm a little bit disappointed, actually my version of EO.WebBrowser.dll is 3.0.113.1, the version of your link is 16.0.49.0 ...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
That's a quite old version that does not support Windows 10. We provide free upgrade for one year. So if you can PM us with your order number we should be able to tell you the latest build you can use, or the exact cost if you wish to upgrade to the latest build.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
OK, done !
thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have just replied your email. Please let us know if you still have any questions.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/5/2016 Posts: 6
|
It works fine on Windows 10 with the 3.43.0 version and also with the 16.0.49.0.
Can you tell me which version of JavaScript and Html is allow with the 3.43.0 and also with the 16.0.49.0 ? just to help us to make a choice.
Best regards.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, Version 3.43.0 is based on Chromium version 33, which was released in early 2014. Version 16.0.49.0 is based on Chromium version 49, which is the most current version. Solely from JavaScript/HTML point of view, both should be sufficient enough. The new engine added more features. You can see a summary list here: https://en.wikipedia.org/wiki/Google_Chrome_release_historyThe new version is definitely more secure though since security is the most important aspect for a browser engine and the Chrome team is constantly working on that. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/7/2015 Posts: 8
|
I am getting this same result maybe 10% of the time using the LoadUrl method. In the LoadFailed handler it will state that the request was canceled. This does not happen if just navigating through links in the web pages themselves but only by using the LoadUrl or LoadUrlAndWait methods.
I am using the latest version of eo.webbrowser (as of today), version 2016.0.55.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Galloden wrote:I am getting this same result maybe 10% of the time using the LoadUrl method. In the LoadFailed handler it will state that the request was canceled. This does not happen if just navigating through links in the web pages themselves but only by using the LoadUrl or LoadUrlAndWait methods.
I am using the latest version of eo.webbrowser (as of today), version 2016.0.55. One possible scenario is if you call LoadUrl again before the previous LoadUrl has finished, then you will receive LoadFailed for the previous Url. If that's not the case, you can send us a test app and we will investigate further: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|