Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
WebBrowser1.Navigate(Me.TextBox1.Text)
WebBrowser1.Document.GetElementById("Email").SetAttribute("value", "tcesurya")
End If
End Sub
i am getting nullreference exception why plz explain
If e.KeyChar = Chr(13) Then
WebBrowser1.Navigate(Me.TextBox1.Text)
WebBrowser1.Document.GetElementById("Email").SetAttribute("value", "tcesurya")
End If
End Sub
i am getting nullreference exception why plz explain
Last edited: