VB.NET WebBrowser control not navigating to a local document

Posted by blerh on Stack Overflow See other posts from Stack Overflow or by blerh
Published on 2010-04-26T23:50:51Z Indexed on 2010/04/26 23:53 UTC
Read the original article Hit count: 347

Filed under:
|
|

I have this code set up to navigate to a certain .html document depending on what's selected from a ListBox:

Private Sub FileList_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FileList.SelectedIndexChanged
    HelpWindow.Navigate(System.AppDomain.CurrentDomain.BaseDirectory & "help\" & fileArray(FileList.SelectedIndex, 1))
End Sub

The problem is, when I first select something in the ListBox, it successfully navigates to that file and displays it. But when I select something a second time it doesn't change.

All of the paths it's trying to navigate to are correct. I've checked this 1000 times.

Anyone have any clues why this isn't working? Thank you.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about webbrowser