Obtain confirmation after System.Net.WebClient
Hi All,
I send from an application, information to a web form (so far everything is ok)
I wish I could get a confirmation telling me that the data have arrived.
I have and I send a System.Net.WebClient Stream.
Even if I try / catch it all, I am sure that the data are in good form arrives.
Confirmation of return, for x or y, would be ideal but I can not find how to do it.
Thank you for your help or info.
Re: Obtain confirmation after System.Net.WebClient
I look exactly the same thing either complete a form and have confirmation that everything is ok.
And to develop the similar code for form I have generate the following code:
Code:
Try
Sunday url As String
Sunday data As String
Sunday header As String
Url = "http://site.info/comments.php"
data = "CommentID = 457 comment & author = & email = & url = x@msn.com www.test.com&comment=Reallycool"
header = "Content-Type: application / x-www-form-urlencoded" & vbCrLf
Inet1. Execute (url, "POST", data, header)
Catch ex As Exception
MessageBox. Show (eg Message, "Read Error")
End Try
If you can tell me how you completed a form (an example) with webclient.system.net and I turn to you to find an answer to how to get a confirmation after submitting the form.
In addition if you want it!
Re: Obtain confirmation after System.Net.WebClient
I tried on internet.http webrequest for suppose if we want to fill up the form on the internet, it suffices to analyze the response (well if you ask for the status I would say it show absolutely 200% OK, which may be sufficient).