Hi there,
i am bulding a Troubleshooter for a game. but i want to check if a swf/as file on my site exists. how do i do this?
Greets, Thijsd
Btw. srry for my bad enlish, i am dutch :P
Printable View
Hi there,
i am bulding a Troubleshooter for a game. but i want to check if a swf/as file on my site exists. how do i do this?
Greets, Thijsd
Btw. srry for my bad enlish, i am dutch :P
already fixed:
Code:Public Function CheckSwf() As Boolean
Dim wc As New Net.WebClient
Try
wc.DownloadData("FileHere")
Me.Label6.Text = "Succes!"
Me.Label6.ForeColor = Color.Green
Return True
Catch ex As Exception
Me.Label6.Text = "Error!"
Me.Label6.ForeColor = Color.Red
Return False
Finally
If Not wc Is Nothing Then
wc.Dispose()
wc = Nothing
End If
End Try
End Function