Sam

Sam

  • NA
  • 166
  • 0

Resource file serialization error

Mar 11 2012 11:19 AM
Hello good fellows,

I have a resource file in which I save all my controls settings.
It was OK until I did something that somehow disturbed saving of the resources.

When trying to save the file, I get a serialization exception with the error message
"control .....is not marked as serializable".

I can not read the file, as it is probably does not exist (I get reading header error).

The same saving error message is true for any control.
I made the class [Seriizable], made all controls public, but for no avail.

Attached is my method that takes care of saving. It is quite simple.

Thanks

Sam

Attachment: paramssave.rar

Answers (2)