How to store images in xml file using vb.net
i want to store a image from picturebox to xml file node using vb.net... how to do that.. i need syntax... sample code
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

FroglegRank #1,020 · 1.9K reputationPosted Apr 1, 2011, 11:04 AM EDT
Dim img As Image
Dim stream As New IO.MemoryStream()
Dim result As String
img = ' your image
img.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg) ' or whatever format you want to use
result = Convert.ToBase64String(stream.ToArray)
Karthikeyan AnbarasanRank #71 · 25.5K reputationPosted Apr 7, 2011, 10:17 PM EDT
Hirendra SisodiyaRank #258 · 9.8K reputationPosted May 2, 2011, 2:28 AM EDT
convert image into binary data
thanks