Menu

#3 Inherit and serialize TreeModel in vb2005

open
nobody
None
5
2008-09-05
2008-09-05
Anonymous
No

Hello,
at first i want to say: GREAT CONTROL!!!!!

but i have
i want to Serialize a class inerhtied form TreeModel.

<Serializable()> Public Class myTreeModel
Inherits TreeModel

...

End Class

when i call

binFormatter.Serialize(myStream, myTreeModel)

i get this exception

The type Aga.Controls.Tree.TreeModel in Assembly Aga.Controls, Version=1.6.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3 i not marked as serializeable.

i tried to do this in the source code but i was not able to do(i can not cod c#)

Please Help me.
excuse my bad english
Roland from Austria

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.