كتبت كل الي لقيتو و الي خطر ببالي
حتى
و ما زبط شي
حيرني الموضوع
كود :
Dim ImagePath As String = "http://chat.freehostingphp.com/a.png"
Dim img1 As Bitmap
Dim newImage As Image = Image.FromFile("http://chat.freehostingphp.com/a.png")
img1 = New Bitmap(ImagePath)
PictureBox1.ImageLocation = ImagePath
PictureBox1.Image = newImageكود :
Dim fileName As String = System.IO.Path.GetFullPath("http://chat.freehostingphp.com/a.png")
PictureBox1.Load(fileName)كود :
Dim ds As New DataSet
ds.ReadXml("")
Dim byteArray = CType(ds.Tables(0).Rows(0)(0), Byte())
Dim ms As New IO.MemoryStream(byteArray)
Me.PictureBox1.Image = Image.FromStream(ms)كود :
Dim fs As New IO.FileStream("", IO.FileMode.Open)
Dim br As New IO.BinaryReader(fs)
Dim byteArray = br.ReadBytes(CInt(fs.Length))
br.Close()
'just to show the sample without a fileread error
Dim ms As New IO.MemoryStream(byteArray)
Me.PictureBox1.Image = Image.FromStream(ms)
حيرني الموضوع
Basil Abdallah

