Click here to Skip to main content
16,017,488 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I created a simple lightswitch application using vb.net. I published and installed this application. I input data and everything worked fine. That is until i decided to go back into visual studio and removed a column due to it being obsolete and pointless to have so I removed it forgetting that I already input data. Now I have a red x that I can not get rid of. I tried uninstalling and even did system restore and it will not go away. Does anyone know what I can do?
Posted

1 solution

The red X usually means that a control can't render itself because of some error in your code. It's not with the system so reinstalling it isn't going to do anything.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-Dec-13 22:18pm    
"Read x of death" sounds so confusing that I could not guess what it may mean... :-) A 5.
OP is advised to format a hard drive if an application under development keeps crashing, this method of work develops the sense of responsibility. :-)
—SA
Dave Kreskowiak 18-Dec-13 0:39am    
Yeah, you get the X when, for example, you owner draw something and the drawing code throws an exception. It's really fun to troubleshoot those, especially when they're intermittent!
Sergey Alexandrovich Kryukov 18-Dec-13 1:32am    
I know. It's the best not to overuse design mode. Putting all questionable code under if (!DesignMode) { /* ... */ } also can be helpful.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900