I use Visual Basic 2008
I have this code :
' this picture i want enclose in the URL
'==========================================================
Dim PicBuffer() As Byte
PicBuffer = IO.File.ReadAllBytes("c:\picture1.png")
' ==========================================================
Dim Request As HttpWebRequest
Dim Response As HttpWebResponse
Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test")
Request.Method = "GET"
Response = Request.GetResponse
Dim reader As New StreamReader(Response.GetResponseStream())
Dim tmp As String = reader.ReadToEnd()
TextBox2.Text = tmp
This code works fine! .
I want also enclose a picture in the URL.
Can anyone tell me how to do that?