superstud101
Member
- Joined
- May 27, 2008
- Messages
- 7
- Programming Experience
- Beginner
hi this is my code and i get this error
"Value of type 'System.Drawing.Bitmap' cannot be converted to '1-dimensional array of Byte'."
could some one please tell me what im doing wrong please
"Value of type 'System.Drawing.Bitmap' cannot be converted to '1-dimensional array of Byte'."
VB.NET:
[COLOR="Red"]dim FirstIcon() as byte = My.Resources.resign_icon1[/COLOR]
FirstIconSize = BitConverter.GetBytes(FirstIcon.Length)
Array.Reverse(FirstIconSize)
SecondIcon = My.Resources.resign_icon_inv
SecondIconSize = BitConverter.GetBytes(SecondIcon.Length)
Array.Reverse(SecondIconSize)
could some one please tell me what im doing wrong please