In VS2005, VB 2005, I suddenly can't get at a winform design view. The
application still runs OK, but I can't see the designer.
I'ver rebuilt the solution with no success.
I'm looking for a general strategy for dealing with this problem.
Here is the error text:
Object reference not set to an instance of an object.
Hide
at QSILib.QSILib.Functions.IsReader(String aLogName, String aFunctName) in
D:\WorkWin\QSILib\QSILib\Functions.vb:line 194
at QSILib.QSILib.fBase.GetContext() in
D:\WorkWin\QSILib\QSILib\fBase.vb:line 64
at ad.feMain.feMain_Load(Object sender, EventArgs e) in
D:\WorkWin\ad\ad\feMain.vb:line 25
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Design.DesignerFrame.Initiali ze(Control view)
at System.Windows.Forms.Design.DocumentDesigner.Initi alize(IComponent
component)
at System.Windows.Forms.Design.FormDocumentDesigner.I nitialize(IComponent
component)
at
System.ComponentModel.Design.DesignerHost.AddToCon tainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
at System.ComponentModel.Design.DesignerHost.Add(ICom ponent component,
String name)
at
System.ComponentModel.Design.DesignerHost.System.C omponentModel.Design.IDesignerHost.CreateComponent (Type componentType, String name)
at
System.ComponentModel.Design.Serialization.Designe rSerializationManager.CreateInstance(Type
type, ICollection arguments, String name, Boolean addToContainer)
at
System.ComponentModel.Design.Serialization.Designe rSerializationManager.System.ComponentModel.Design .Serialization.IDesignerSerializationManager.Creat eInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at
System.ComponentModel.Design.Serialization.TypeCod eDomSerializer.Deserialize(IDesignerSerializationM anager manager, CodeTypeDeclaration declaration)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32 fReload)