Sub App_Start
If CheckConnection=True Then
DownloadStuff
End If
End Sub
Sub CheckConnection(URL)
ErrorLabel(offline)
Request.New1(URL)
Response.New1
Response.Value = Request.GetResponse
Response.Close
Return True
offline:
Return False
End Sub
Sub NoConnection
MsgBox("Unable to download application")
End Sub