Option Explicit
Private Sub Command1_Click()
WebBrowser1.Navigate Combo1.Text
End Sub
Private Sub Form_Load()
WebBrowser1.Left = 0
StatusBar1.Style = sbrSimple
End Sub
Private Sub WebBrowser1_DownloadBegin()
StatusBar1.SimpleText = "正在下载..."
End Sub
Private Sub WebBrowser1_DownloadComplete()
StatusBar1.SimpleText = "连接成功..."
ProgressBar1.Value = 0
End Sub
Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
If ProgressMax = 0 Then Exit Sub
ProgressBar1.Max = ProgressMax
If Progress <> -1 And Progress <= ProgressMax Then
End If