Serialization Problems(On a form or in a module???) 
Author Message
 Serialization Problems(On a form or in a module???)

I wonder if anyone has seen this before.
I and a colleague have been testing the Vbnet serialization SOAP formatters
and have encountered some strange behavior.

Take a class that raises an event. It is marked as serializable.
If we then try and populate the class within the instance of a form and then
attempt to serialize it, the compiler comes up with an error,
"Windows.system.forms is not marked as seriliazable" appears. If we move the
exact same code into a module, it works fine and we can serialize and
de-serialize to our hearts content.
We evenr marked the form as serilizable but this still made no difference.
Does this mean that one can only use the serialization class when it is
hosted in a non form class or module??? Or have we just missed something??


Sat, 29 Jan 2005 03:25:26 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Form Serialization

2. Passing input box value from Form Module to report module

3. vb4: bas modules and form modules

4. Q: Code Module vs UserControl (Form, Class) module.

5. Q: Code Module vs UserControl (Form, Class) module.

6. Q: Code Module vs UserControl (Form, Class) module.

7. Passing Value from Module Function to Form sub problem

8. Problem bringing up a form from VBA module

9. Code problem:serialization

10. problems with serialization of an array of a public class

11. XML Serialization problem with collections

12. Problem: brings in forms as modules


Powered by phpBB® Forum Software