Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
RibbonControl1.Office2007ColorTable = DevComponents.DotNetBar.Rendering.eOffice2007Color Scheme.Black
ButtonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007
End Sub
Private Sub ButtonX3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX3.Click
WebBrowser1.GoBack()
End Sub
Private Sub ButtonX6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX6.Click
WebBrowser1.GoForward()
End Sub
Private Sub ButtonX5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX5.Click
WebBrowser1.Navigate(TextBoxX1.Text)
End Sub
Private Sub ButtonX4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX4.Click
WebBrowser1.Stop()
End Sub
Private Sub ButtonX7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX7.Click
WebBrowser1.Refresh()
End Sub
Private Sub ButtonX2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX2.Click
WebBrowser1.Navigate("Http://www.google.com")
End Sub
Private Sub ButtonX1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX1.Click
WebBrowser1.Navigate("http://www.youtube.com")
End Sub
Private Sub ButtonX9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX9.Click
WebBrowser1.Navigate("http://www.facebook.com")
End Sub
Private Sub ButtonX8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX8.Click
WebBrowser1.Navigate("http://www.mpgh.net")
End Sub
Clearly the url given to the webbrowser is invalid. To solve this, select the webbrowser in the designer window and goto property panel. There, clear the URL property.
Hopefully this will solve your problem !!
Originally Posted by FLAMESABER
Hmmm...I got this error in my noob era too..
Clearly the url given to the webbrowser is invalid. To solve this, select the webbrowser in the designer window and goto property panel. There, clear the URL property.
Hopefully this will solve your problem !!
hm.. i will try but i changed all of 'em -.-" anyway
I would assume that you are only using Absolute URL's and Not Relative URL's
The difference, A relative URL is not "free" it is in a Local/Directory and A absolute URL (like "Google.com" is a free standing website with no local connection to your application.
Your error is because somewhere either in code or in your property your application is looking for a relative (or local) URL , An example would be your own 404 page or error page pr starting page for a custom browser, you would place a file in the app directory and have your web browser navigate to it.
Without seeing the application as is with the error, can't help too much, but at least this understanding may help resolve the issue and prevent future issues as well
NEED HELP WITH SOMETHING ANOTHERS PLS READ! URGENT!