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?

Nope! you can't.

>Can anyone tell me how to do that?

Maybe you want to add web-service in your webapp.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.