Visual Studio 2010 WPF プログラムに次のコードがあります。フォーム上の Web ブラウザーではなく、Internet Explorer を自動化しています。
Private Sub ie_NewWindow3(ByRef ppDisp As Object, ByRef Cancel As Boolean, ByVal dwFlags As UInteger, ByVal bstrUrlContext As String, ByVal bstrUrl As String) Handles ie.NewWindow3
Dim ie As New SHDocVw.InternetExplorer
ie.RegisterAsBrowser = True
ppDisp = ie.Application
ie.Visible = True
Cancel = True
End Sub
イベントが発生すると、新しい Internet Explorer が表示されますが、未初期化の準備ができており、何もせずにそこに座っているだけで、イベントが発生していないようです。どんな体でも助けられますか?
たとえば、この単純なWebサイトの単純なポップアップの例で試しました