tags:

views:

463

answers:

2

Value cannot be null. Parameter name: stream Can anybody assist my code?

Me.PictureBox1.Image.Save(memStream, System.Drawing.Imaging.ImageFormat.Jpeg)
Dim imSource() As Byte = memStream.GetBuffer
Dim imStatus As Integer = publicStream.Read(imSource, 0, streamLength - 1)
imSource.GetValue(memStream.ReadByte)
A: 

Where have you declared and instantiated memStream? You would need something like:

Dim memStream as MemoryStream = new MemoryStream
David M
A: 

Well I pass this point with another way of programming

now my issue is how to contact with an SQL server which is in my ISP i'm looking for it right now and also i need to create a stored procedure to put it in the remote server in order to make the server create my Stream data base i'm at this point now

if there is anyone which he want to assit me i'm here to give more informations

Lefteris Gkinis
You should create a new question for this.
Mike Daniels