Welcome Guest Search | Active Topics | Sign In | Register

EO.Webbrowser - Silent "crash" Options
tmigh
Posted: Wednesday, June 21, 2017 3:04:18 PM
Rank: Member
Groups: Member

Joined: 1/16/2016
Posts: 16
Hello,

I've created a UserControl with a Browser in VB.NET and registered it using "Make COM visible" and "Register as COM interop".

Now I'm consuming this UserControl in VB6.
This works very fine at first, but after a few calls to "LoadUrl"...

Try
_webView.LoadUrl(value)
Catch ex As Exception
MessageBox.Show(ex.Message.ToString())
End Try

... the Browser simply becomes plain white without any error message.

The problem can be reproduced almost immediately when I don't only use LoadUrl(), but when I first call LoadUrl(), then navigate manually to another webpage, for example by clicking a link on a webpage and then calling LoadUrl() afterwards.

All properties still seem to be valid. For example,

Try
Return _Browser.WebView.Url
Catch ex As Exception
Return String.Empty
End Try

returns the correct URL.

Memory consumption seems perfectly fine, btw.
For testing purposes, I added a label inside my NET UserControl so that I can check if my UserControl entirely crashed.
But when the white-out appears, the label is still visible, so the UserControl didn't crash entirely.

I think the problem is isolated to the Browser.

Can you please advise what else I can check? Is there an error log to be found somewhere?

EO.WebBrowser.dll 17.1.76.0
eo_support
Posted: Thursday, June 22, 2017 8:09:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

We have received your test project. We will look into it and get back to you as soon as possible.

Thanks!
Tank
Posted: Thursday, July 6, 2017 2:09:11 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi EO Support,

I am also facing the same issue.
the web view is loading the first url but not showing it on control and if url is redirected to another page it is also not firing the web view load complete event.

Please update once you solve this issue.

Thanks,
Tank
ns
Posted: Friday, July 7, 2017 6:31:56 AM
Rank: Member
Groups: Member

Joined: 8/11/2015
Posts: 17
Consider using LoadRequest instead of LoadUrl.
eo_support
Posted: Friday, July 7, 2017 10:19:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Tank wrote:
Hi EO Support,

I am also facing the same issue.
the web view is loading the first url but not showing it on control and if url is redirected to another page it is also not firing the web view load complete event.

Please update once you solve this issue.

Thanks,
Tank


Hello Tank,

The original issue is specifically related to classic VB6. So your issue would be a completely different issue. Please try to create a test project and send the test project to us. Once we have that we will investigate further. See here for more details on how to send test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Tank
Posted: Thursday, July 13, 2017 7:52:08 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi NS and EO_Support,

looks like issue is solved with LoadRequest instead of LoadUrl.
i will test this on production and will update you, if not solved then will send test project to EO Support.

Regards,
Ashish
Tank
Posted: Friday, July 21, 2017 5:32:32 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi EO Support,

the issue is not solved in our production environment :(
i will submit test project. please look at it at earliest as this is being escalated.

Regards,
Ashish
Tank
Posted: Tuesday, July 25, 2017 8:05:11 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi EO Support,

i have sent test project in email.

Regards,
Ashish
eo_support
Posted: Tuesday, July 25, 2017 9:58:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Thanks. We will look into the test project as soon as possible.
Tank
Posted: Thursday, July 27, 2017 6:21:22 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi EO Support,

any update on my reported issue ?

Regards,
Ashish
eo_support
Posted: Thursday, July 27, 2017 6:20:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

We have tried your test project both with version 16.2.23.0 and the current version. We are not able to reproduce in either versions.

There are a number of issues that MAY causes the problem you observed. One of the most common reason for such issues are related to your display driver and hardware acceleration. A buggy display driver that claims to be capable of doing certain hardware acceleration but doesn't do it right can cause such problems. The easiest way to verify whether this is the problem is to turn the hardware acceleration off by setting Runtime.DisableGPU to true. If this eliminates the problem for you, then it's almost certain that the problem is caused by display driver.

There are also other issues that have been fixed on our end that can cause this problem. To verify if those are the issues, you can try the latest build and see if it resolves the issue for you. We did try both the version you mentioned and the current build and we do not see any difference here though. So this may not be the problem.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.