Welcome Guest Search | Active Topics | Sign In | Register

webbrowser does not work, just getting a hanging form Options
PtH
Posted: Tuesday, January 8, 2019 5:18:10 AM
Rank: Newbie
Groups: Member

Joined: 1/8/2019
Posts: 4
I began my trial at 2018 nov 28. It looked good. I had a form with a webbrowser (not tabbed, just one browser) and it worked well. I began to build my application around it. About fourteen days later it suddenly did not work anymore. And eversince, whatever I try, the webbrowser does not show up anymore. I just get a hanging form that does not even paint.

Yesterday I tried the TabbedBrowser.exe. That works fine, but the TabbedBrowser_VB.vbproj is not working. That project gave me also only a hanging form. That was yesterday. Today it gives no result at all anymore (don't know what has changed). The project starts debugging but does not show up at all.

At first I had an intention to buy a license, but since it stopped working I changed my mind. Is there a built-in block when the trial-period ends? Is that the cause of this failure?

eo_support
Posted: Tuesday, January 8, 2019 2:07:14 PM
Rank: Administration
Groups: Administration

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

Please open App.xaml.vb, then change the following code blocks:

Code: Visual Basic.NET
'Uncomment the following two lines to use eowp.exe. See here for
'more details:
'https://www.essentialobjects.com/doc/common/eowp.aspx
'string eowpPath = Path.Combine(ExeDir, "TabbedBrowserEOWP.exe");
'EO.Base.Runtime.InitWorkerProcessExecutable(eowpPath);


To:
Code: Visual Basic.NET
Dim eowpPath As String = Path.Combine(ExeDir, "TabbedBrowserEOWP.exe")
EO.Base.Runtime.InitWorkerProcessExecutable(eowpPath)


And see if it works for you. The original code is commented out but you can not simply uncomment it because the commented out code is in C# syntax, not VB syntax. The code provided here is translated to VB syntax.

Please let us know if this resolves the issue for you.

Thanks
PtH
Posted: Wednesday, January 9, 2019 10:53:23 AM
Rank: Newbie
Groups: Member

Joined: 1/8/2019
Posts: 4
eo_support wrote:
Hi,

Please open App.xaml.vb, then change the following code blocks:

Code: Visual Basic.NET
'Uncomment the following two lines to use eowp.exe. See here for
'more details:
'https://www.essentialobjects.com/doc/common/eowp.aspx
'string eowpPath = Path.Combine(ExeDir, "TabbedBrowserEOWP.exe");
'EO.Base.Runtime.InitWorkerProcessExecutable(eowpPath);


To:
Code: Visual Basic.NET
Dim eowpPath As String = Path.Combine(ExeDir, "TabbedBrowserEOWP.exe")
EO.Base.Runtime.InitWorkerProcessExecutable(eowpPath)


And see if it works for you. The original code is commented out but you can not simply uncomment it because the commented out code is in C# syntax, not VB syntax. The code provided here is translated to VB syntax.

Please let us know if this resolves the issue for you.

Thanks



Hi,

Thanks for your answer. This resolves my problem with the TabbedBrowser_VB.vbproj. For the application that I was building originally (a windows-forms app) this gives no solution. But I am working now on implementing the tabbed browser (which is more satisfactory then one single browser). A complication is that your tabbed browser project is a WPF-project. I'l try to combine that with my windows-forms code.

PtH 2019, january 9
eo_support
Posted: Wednesday, January 9, 2019 12:45:45 PM
Rank: Administration
Groups: Administration

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

You can reuse almost all EO.WebBrowser related code in TabbedBrowser sample application in your Windows Forms project because those code are platform neural. See here for more details:

https://www.essentialobjects.com/doc/webbrowser/start/sample.aspx

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.