[COLOR=green]'1st declare th request object and set up timeout method of the WebRequest object[/COLOR]
objRequest.Timeout = TimeoutSeconds * 1000
[COLOR=green]' Retrieve data from request ... declare response object and stuff
[/COLOR]{....}
[COLOR=green]' Check if available so, close the response[/COLOR]
If Not objResponse Is Nothing Then
objResponse.Close()
End If
Catch
[COLOR=green]' Error occured grabbing data so, simply return nothing[/COLOR]
[COLOR=blue]Return[/COLOR] [COLOR=blue]String[/COLOR].Empty
MessageBox.Show("No data received")