Hello, I have 2 forms in my app and want to navigate the webbrowser1 on MainForm using SettingsForm. Here's my code:
vb.net Code:
If MainForm.WebBrowser1.Url.AbsoluteUri Is "about:blank" Then MainForm.WebBrowser1.Navigate("http://www.domain.com") End If
My code can't do this, what am I doing wrong?
EDIT: When I test with MessageBox.Show(MainForm.WebBrowser1.Url.AbsoluteUri) it shows me about:blank




Reply With Quote
