Rank: Newbie Groups: Member
Joined: 5/25/2015 Posts: 3
|
LoadCompleted DOES fire. The web page IS FULLY LOADED AND PROPERLY RENDERED.
BUT LoadUrlAndWait KEEPS WAITING... FOREVER.
Public Class LA ' this is full/complete code used Dim INI As New ini
Private Sub LexisAdvance_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load AddHandler wvEO.LoadCompleted, New NavigationTaskEventHandler(AddressOf wvEO_LoadCompleted) AddHandler wvEO.TitleChanged, New EventHandler(AddressOf wveo_TitleChanged) tmrEO.Enabled = True End Sub
Private Sub tmrEO_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrEO.Tick tmrEO.Enabled = False MsgBox("Loading") wvEO.LoadUrlAndWait(INI.GetValue("L", "LA_URL")) ' obtains proper URL, page is fully rendered MsgBox("Loaded") ' msgbox never appears - breakpoint on this line never hits End Sub
Private Sub wveo_TitleChanged(ByVal sender As Object, ByVal e As EventArgs) System.Diagnostics.Debug.Print("TitleChanged") ' does hit End Sub
Private Sub wvEO_LoadCompleted(ByVal sender As Object, ByVal e As NavigationTaskEventArgs) System.Diagnostics.Debug.Print("LoadCompleted") ' does hit as page is fully rendered on screen End Sub End Class
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We tested your code and it works fine here. You can try to isolate the problem into a test project and send the test project to us and we will be able to investigate further. See here for more details on how to submit test project to us: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|