Welcome Guest Search | Active Topics | Sign In | Register

EO.Webbrowser as COM object Options
ac2015
Posted: Friday, December 25, 2015 5:41:13 PM
Rank: Member
Groups: Member

Joined: 12/24/2015
Posts: 14
Hello!

I am trying the EO.WebBrowser as a COM object, and I use it in VB6.
I have created a VB.NET usercontrol and set its property to "Register as COM".
I am showing the webbrowser within this usercontrol.

Everything works perfectly, I navigate to www.google.com without any problem, but as soon as I load a certain URL (http://www.bild.de), both the COM component and the calling application hangs (no time-out). Often it only happens randomly, meaning that it only hangs when I load the URL for second time.

Is there anything I can do to debug the situation, or should I switch to .NET right now because nothing else will work?

Thank you for the help.
eo_support
Posted: Saturday, December 26, 2015 9:58:24 AM
Rank: Administration
Groups: Administration

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

You should definitely switch to .NET if you can. EO.WebBrowser is built with .NET so obviously it will almost certainly works better in a native .NET environment. Another reason is obviously any support for VB6 has ended a long time ago --- this is an almost 20 years old product and MS has ended mainstream support on it over a decade ago.

Having that said, the hanging can be an issue that is unrelated to COM. Please check your DLL version and see if you already have the latest build first. We did fix some issues that can cause hanging in the past. If you already have the latest build, please try to create a pure .NET application and try to reproduce the problem in that application. If you can reproduce the problem, please send the test app to us and we will investigate further. See here for more information on how to submit test application:

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

Thanks!
ac2015
Posted: Saturday, December 26, 2015 8:19:59 PM
Rank: Member
Groups: Member

Joined: 12/24/2015
Posts: 14
I am using the latest build.
Yes, I have been able to reproduce the hanging / freeze in a clean .NET application using VS2015 RC.
The problem occurs both in x64 and x86.

I have sent an example project to you in a private mail.

Thank you.
eo_support
Posted: Saturday, December 26, 2015 9:17:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. We have received your test project. We will look into it and get back to you as soon as possible.

Thanks!
ac2015
Posted: Tuesday, December 29, 2015 3:08:23 PM
Rank: Member
Groups: Member

Joined: 12/24/2015
Posts: 14
I have abandoned the idea of using EO.Browser as a COM object because I could not get it to work although I spent like 20 hours on it.
At least in VB6 it does not work (the usual VBExtender and m_Browser.object. calls would fail with EO.Browser while I got it to work with other browsers. Very strange.).

However, I am interested if you found a solution to the hanging problem in a clean .NET project.
eo_support
Posted: Tuesday, December 29, 2015 5:24:49 PM
Rank: Administration
Groups: Administration

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

We did look into the clean VB.NET project you sent to us ---- and we could not reproduce the hang problem you have encountered. What version of EO DLL do you use?

Thanks!
ac2015
Posted: Tuesday, January 5, 2016 4:47:23 AM
Rank: Member
Groups: Member

Joined: 12/24/2015
Posts: 14
EO.WebBrowser.dll is version 15.3.43.0.
ac2015
Posted: Tuesday, January 5, 2016 7:44:56 AM
Rank: Member
Groups: Member

Joined: 12/24/2015
Posts: 14
Today I don't get the hanging anymore. Grrrrrr.
eo_support
Posted: Tuesday, January 5, 2016 9:17:34 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
All right. Let us know if you still have any problems.

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.