I have a program that uses the Inet control. My problem is once it encounters an error (icError in StateChanged event to be specific) my program will freeze. I've tried to issue an Inet.Cancel statement but to no avail. HELP!!!


Here's a portion of my code....

Private Sub Inet1_StateChanged(ByVal State As Integer)
On Error GoTo Errors
Select Case State
Case icNone
Me.Caption = ""
.
.
.
Case icError
Inet1.Cancel
Case icResponseCompleted
Me.Caption = "Completed..."
End Select

End Sub

[Edited by jsayson on 07-19-2000 at 01:06 PM]