WebBrowser Events MAKE 02-24 IEイベントのテスト

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,345
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 23, 2009

← フォームにWebBrowserを貼り、イベント処理の記述をテストしてみます。
まぁ、あまり難しく考えないで、オブジェクトをダブルクリック(笑)
まずは、ここから始めてみてください(おぃおぃ)
※しつこく繰り返すと、ダブルクリック、まずはここから???
-------
Private Sub UserForm_Initialize() Me.WebBrowser1.GoHome
End Sub

Private Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean) Debug.Print URL
End Sub

Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean) If MsgBox("新しいウインドウを開きますか?", vbYesNo) = vbNo Then Cancel = True End If
End Sub

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String) Debug.Print Text
End Sub
-------

IE操作の解説を http://www.ken3.org/cgi-bin/group/vba_ie.asp で ほそぼそとやってます、よかったら見に来てください。

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • で?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more