Hi,
I'm trying to convert this simple string into image:
Dim bytes() as byte()=System.t ext.Encoding.as cii.GetBytes("1 23")
Dim memStream as System.IO.Memor yStream
Dim img as image
memStream.Write (bytes,0.bytes. length)
img=image.froms tream(memStream ) ' an error occurs here
vb.net returns an error: "invlaid parameter" for passing stream to the
image.
I don't want to read stream from file, as I am interested in reading
from input string (textbox).
MTIA,
Grawsha
I'm trying to convert this simple string into image:
Dim bytes() as byte()=System.t ext.Encoding.as cii.GetBytes("1 23")
Dim memStream as System.IO.Memor yStream
Dim img as image
memStream.Write (bytes,0.bytes. length)
img=image.froms tream(memStream ) ' an error occurs here
vb.net returns an error: "invlaid parameter" for passing stream to the
image.
I don't want to read stream from file, as I am interested in reading
from input string (textbox).
MTIA,
Grawsha
Comment