Please answer: Serialization problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stefan De Schepper

    #1

    Please answer: Serialization problem

    Hi all,

    I'm trying to make an ImageCombo. This control has an Items property. Every
    Item has a Text, Key and ImageIndex property.
    I made the Item class Serializable. When I fill the ImageCombo during
    designtime and start the app, the ImageCombo has the correct items. But when
    I stop the app and open the form's designer window, I always get the
    following error: "At least one element in the source array could not be
    cast down to the destination array type." and the Items are gone.
    Can anyone please help me with this problem? Any help appreciated!!!

    Stefan.


Working...