TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
iwelsh
NA
6
0
java conversion help
May 28 2004 9:49 AM
I am converting the following code from java to c#: source = new MemoryImageSource(width, height, pixel, 0, width); source.setAnimated(true); toolkit = Toolkit.getDefaultToolkit(); image = toolkit.createImage(source); I am having a problem with the following code: BinaryFormatter b = new BinaryFormatter(); System.IO.MemoryStream istream = new System.IO.MemoryStream(); b.Serialize(istream, pixel); image = System.Drawing.Image.FromStream(istream); I get the error "Invalid Parameter Used." when trying to use the fromstream method. Any ideas?
Reply
Answers (
4
)
multiple selection List Box
date times