The Me.DocumentCompleted works fine, and i have access to alot of webBrowser eventsCode:Public Class CustomBrowser Inherits WebBrowser Private Sub DocCompleted() Handles Me.DocumentCompleted 'etc End Sub Private Sub NewWin(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles Me.NewWindow e.Cancel = True End Sub
But Me.NewWindow is not recognized... web browsers should have a NewWindow event built in.. i have used it in other Vb.Net 2008 apps
Any way i can get the NewWindow event?
NVM: i found it as MyBase.NewWindow




Reply With Quote