i got a few question want to ask that is i got a open dialog coding to open a image and display it at the picturebox like below:
'Reading a picture and put it in a bytearray
If fo.ShowDialog = DialogResult.OK Then
Dim fs As New IO.FileStream(fo.FileName, _
IO.FileMode.Open)
Dim br As New IO.BinaryReader(fs)
abyt = br.ReadBytes(CInt(fs.Length))
br.Close()
'just to show the sample without a fileread error
Dim ms As New IO.MemoryStream(abyt)
Me.PictureBox1.Image = Image.FromStream(ms)
End If
i would like to ask if i want to control the size of the picture how can i do and if i want to save it to ACESS DATABASE what datatype should i put in the ACESS DATABASE ? and can show me sample coding about how to do that process ? thank you very much![]()
![]()


Reply With Quote