StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



VS designer serialization weirdnessExpand / Collapse
Author
Message
Posted 06/14/2007 3:31:14 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 11:22:35 AM
Posts: 1,356, Visits: 3,615
I have a weird issue with serialization by the designer. I have a small little test app that I'm messing with, only two forms, a few other classes. Regularly, but seemingly randomly, a control will be removed from the designer file, all traces of it gone. However, the control will still be shown in the designer. I.e. I open the form, controls are all displayed as they should be. I switch to code view, switch back, everything looks fine, except sometimes I won't be able to select a control. It's shown but I can't select it. If I check out the designer file, the control will be missing...completely. I close the form, then reopen and sure enough the control is gone. I can add it back, but that is obviously not desired.

Any ideas what might be going on? See this before? Fixes?

* Note: This is a test of a subclass of a TreeView that includes, indirectly, some events (AddHandler/RemoveHandler), which I understand might be causing problems if I didn't handle them correctly.
Post #9598
Posted 06/15/2007 1:41:49 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 11:22:35 AM
Posts: 1,356, Visits: 3,615
I installed SP1 for VS and I tried creating a brand new app and copying the code over. This is still happening. Runtime works great. If I don't mess with the form it works great. If I open the form in VS, either code or design, there is about a 40% chance this will happen.

Maybe I'm being bombarded by neutrinos and my control is disappearing through a wormhole and ending up on some poor souls Amiga....I just don't know....
Post #9623
Posted 06/15/2007 7:27:20 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:25:17 AM
Posts: 4,901, Visits: 4,885
LOL....yeah, this is one of those things I cannot give you an answer for and is one of those things that you have to have everything in hand to even troubleshoot. 
Post #9626
Posted 06/15/2007 8:46:42 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 11:22:35 AM
Posts: 1,356, Visits: 3,615
I was hoping against hope that this might be one of those things someone had seen before... . I suppose I could google for someone that is suddenly having random code inserted into their designer files (going with the wormhole theory )

If anyone else has seen this, speak up!
Post #9629
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:09pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.172. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.