Why don't you simply call that click event and pass Index (if you do have control array) ?
Here is a quick sample:
VB Code:
Private Sub Command1_Click() WebBrowser1_DownloadBegin 0 End Sub Private Sub WebBrowser1_DownloadBegin(Index As Integer) Select Case Index Case 0, 1 MsgBox "Start downloading... Please wait." End Select End Sub




Reply With Quote