Stop From Opening IE Window


SUBMITTED BY: Guest

DATE: Dec. 7, 2013, 8:20 a.m.

FORMAT: Text only

SIZE: 215 Bytes

HITS: 888

  1. Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
  2. ' Prevent opening a new windows
  3. e.Cancel = True
  4. End Sub

comments powered by Disqus