title: Strange Error in VB.net web browser
body: <p>I am creating a app on vb.net in which I am using a web brower. The code is working fine, but I some popup is coming every time I open the app.</p>
  
  <p>This is the popup:</p>
  
  <p><img src="https://i.stack.imgur.com/9mcoE.png" alt="enter image description here"></p>
  
  <p>How can I remove this Script Error. Below is my code:</p>
  
  <pre><code>Imports System.Text
  
  Public Class Form4
  
  
      Private Sub btnMapIt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMapIt.Click
  
          Try
              Dim street As String = String.Empty
              Dim city As String = String.Empty
              Dim state As String = String.Empty
              Dim zip As String = String.Empty
  
              Dim queryAddress As New StringBuilder()
              queryAddress.Append("http://maps.google.com/maps?q=")
              queryAddress.Append(TextBox1.Text)
  
              webBrowser1.Navigate(queryAddress.ToString())
  
          Catch ex As Exception
  
              MessageBox.Show(ex.Message.ToString(), "Unable to Retrieve Map")
  
          End Try
  
      End Sub
  
      Private Sub Panel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint
          Try
              TextBox1.Text = Form10.TextBox6.Text
              'txtStreet.Text = TextBox1.Text
          Catch ex As Exception
              MsgBox("Welcome to Google Maps", MsgBoxStyle.Information)
          End Try
  
      End Sub
  
  
  End Class
  </code></pre>