I am using the webbrowser control in an app im making.

I have a textbox which holds a server address in the registry. This is so that the user can change the server address in case it changes.

I want the user to be able to click on imgBrowser and then for the app to contact the server and locate main.htm and load it.

Private Sub imgBrowser_Click()

browser.Navigate (site & "\main.htm")

End Sub

This doesnt seem to work though.

Any ideas?