0

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?

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by __avd
0

Nope! you can't.

>Can anyone tell me how to do that?

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.