|
-
Aug 17th, 2007, 04:12 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2005] Problem Serializing
EDIT: Found the solution to this problem. Solution begins in post #13 below.
I have a serializable class Person
The Person class used to be contained in a project along with a Form that I was using for testing.
I was using the class with no problems while the Person class was a part of the same project as the form I was using for testing. Serializing and Deserializing an object of type Person was successful.
Then I moved the Person class to a class library.
The Class works fine from the test project except it won't serialize.
I just have some buttons on the form that create a Person and then Serialize and Deserialize the Person.
Now however, when I try to serialize a Person object I get an error message that the form used in the testing project isn't serializable; i.e. the form itself is not serializable.
What might be the problem?
EDIT: Found the solution to this problem. Solution begins in post #13 below.
Last edited by FourBlades; Aug 20th, 2007 at 04:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|