Private Sub Form_Load() Set IE = New SHDocVw.InternetExplorer IE.Navigate ("http://hanatyan.sakura.ne.jp/") IE.Visible = True Timer1.Interval = 200 Timer1.Enabled = True End Sub
Private Sub Timer1_Timer() On Error Resume Next Dim myStatusText As String myStatusText = IE.StatusText If Left$(myStatusText, 4) = "http" Or Left$(myStatusText, 4) = "ftp" Then Label1.Caption = IE.StatusText Else Label1.Caption = "" End If End Sub