FORM-CODE
Private Sub Form_Load()
Command1.Caption = "Start"
End Sub
Private Sub Form_Unload(Cancel As Integer)
If Inet1.StillExecuting Then
MsgBox "Kann nicht beenden...", vbExclamation
Cancel = 1
Exit Sub
End If
End Sub
Private Sub Command1_Click()
Me.Caption = "Bitte warten..."
If Not Inet1.StillExecuting Then
Text1.Text = Inet1.OpenURL("http://www.schmittis-page.de/updates.htm")
End If
If Not Inet1.StillExecuting Then
Text1 = Replace(Text1, Chr(10), Chr$(13) & Chr$(10))
Caption = "Fertig !"
End If
End Sub