Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Cannot open Designer
 

Cannot open Designer

I cant open the designer because of this warning:

Warning 1 Object reference not set to an instance of an object. 0 0

Please HELP!!!!!!!!!!!!!!!!!!!!

Mateusz Rajca  Saturday, July 08, 2006 9:16 PM
Don't panic. It was probably the last control you added to the form. In the Solution Explorer, click "Show All Files". That reveals a "MyForm.Designer.cs" file. Open it and delete all references to your problem control. Build. If you got it right, you can again open the form in the designer...

nobugz  Saturday, July 08, 2006 10:19 PM
Don't panic. It was probably the last control you added to the form. In the Solution Explorer, click "Show All Files". That reveals a "MyForm.Designer.cs" file. Open it and delete all references to your problem control. Build. If you got it right, you can again open the form in the designer...

nobugz  Saturday, July 08, 2006 10:19 PM

You can use google to search for other answers

Custom Search

More Threads

• MainMenu Like Control
• On tabpage enter focus textbox...?
• ToolStripPanel
• Any Ideas - CodeDomSerializer, InitalizeComponet and ResourceManager
• Using SplitContainer in MDI Form.
• Getting files Advanced properties.
• custom control acting very wierd in design mode
• Design-time property with no designer transactions: possible?
• Weird artifact in Designer
• Mmicrosoft Outlook Integration with VB.NET Code