Posted on: 2/26/2015 7:51:15 PM | Views : 580

Hello, I have some variables on my form code behind that call a class. Help appreciated. The issue is I'm getting an error on my parameter values I'm trying to pass in.:
Value of type 1 dimensional array of byte cannot be converted to system.io.stream
From my code behind, I'm trying to call the class like this:

' Create a bitmap of the content of the fileUpload control in memory Dim originalBMP As New Bitmap(uploadPicture.FileContent) Dim newHeight As Integer = 250 Dim newWidth As Integer = 200 ' Create a new bitmap which will hold the previous resized bitmap Dim newBMP As New Bitmap(originalBMP, newWidth, newHeight) Dim data As Byte() = DirectCast(converter.Conv ...

Go to the complete details ...