473,657 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Errors encountered while loading the designer

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.F unctions.IsRead er(String aLogName, String aFunctName) in
D:\WorkWin\QSIL ib\QSILib\Funct ions.vb:line 194
at QSILib.QSILib.f Base.GetContext () in
D:\WorkWin\QSIL ib\QSILib\fBase .vb:line 64
at ad.feMain.feMai n_Load(Object sender, EventArgs e) in
D:\WorkWin\ad\a d\feMain.vb:lin e 25
at System.Windows. Forms.Form.OnLo ad(EventArgs e)
at System.Windows. Forms.Form.OnCr eateControl()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.S etVisibleCore(B oolean value)
at System.Windows. Forms.Form.SetV isibleCore(Bool ean value)
at System.Windows. Forms.Control.s et_Visible(Bool ean value)
at System.Windows. Forms.Design.De signerFrame.Ini tialize(Control view)
at System.Windows. Forms.Design.Do cumentDesigner. Initialize(ICom ponent
component)
at System.Windows. Forms.Design.Fo rmDocumentDesig ner.Initialize( IComponent
component)
at
System.Componen tModel.Design.D esignerHost.Add ToContainerPost Process(ICompon ent component, String name, IContainer containerToAddT o)
at System.Componen tModel.Design.D esignerHost.Add (IComponent component,
String name)
at
System.Componen tModel.Design.D esignerHost.Sys tem.ComponentMo del.Design.IDes ignerHost.Creat eComponent(Type componentType, String name)
at
System.Componen tModel.Design.S erialization.De signerSerializa tionManager.Cre ateInstance(Typ e
type, ICollection arguments, String name, Boolean addToContainer)
at
System.Componen tModel.Design.S erialization.De signerSerializa tionManager.Sys tem.ComponentMo del.Design.Seri alization.IDesi gnerSerializati onManager.Creat eInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at
System.Componen tModel.Design.S erialization.Ty peCodeDomSerial izer.Deserializ e(IDesignerSeri alizationManage r manager, CodeTypeDeclara tion declaration)
at
System.Componen tModel.Design.S erialization.Co deDomDesignerLo ader.PerformLoa d(IDesignerSeri alizationManage r manager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .PerformLoad(ID esignerSerializ ationManager serializationMa nager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .DeferredLoadHa ndler.Microsoft .VisualStudio.T extManager.Inte rop.IVsTextBuff erDataEvents.On LoadCompleted(I nt32 fReload)

May 6 '06 #1
0 1257

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1821
by: Ali Eghtebas | last post by:
Hi, I wanted to insert linebreaks in the tooltip property of some of my controls. I simply altered the designer generated code in InitializeComponent: Me.MyTooltip.SetToolTip(Me.TextBox1, "Text line 1" & vbCr & "Text line 2.") But whenever I change back to desinger I get this error in the Task List: "The variable 'vbCr' is either undeclared or was never assigned."
9
2201
by: Tim Marsden | last post by:
Hi, When I open a large solution in VS2003. I get over 2000 errors in my task list. The text "Empty" afters in the Class and Member dropdowns. If I close I get the Microsoft Error dialog, and VS2003 reloads. Any thoughts Tim
3
10833
by: Steve Richter | last post by:
here is an error I get when I open my class library project: "The class ResultsTable can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again." What does that mean, "the class xxx can be designed"? thanks,
10
1927
by: dbuchanan | last post by:
Hello, >From time to time my vb2005 form disappears and is replaced by the following errors. Rebuilding the application never helps. However the errors never affects the operation of my application that I notice, but it is very anoying. To get rid of the errors I must close the form, close the application and then reopen it.
3
10278
by: sklett | last post by:
This BUG that is so ridiculous I can't believe they shipped 05 is making my life hell. I have tried the various solutions found on the web and none of them have worked thus far. What's even more troublesome is that it appears that 05 uses these new partial classes which would makes rolling back to 03 not possible. The error I get when trying to load my Form in the designer is as follows:...
0
2150
by: Johnny Emde Jensen | last post by:
Hello Why this. I have a form (frmWorkspace), with some splitter controls. on each splitter panel i place my own usercontrols. One of the usercontrols (ctlWorkbook) have a dynamic picturebox (picThumb) declared with: Public WithEvents picThumb As PictureBox = Nothing
3
1453
by: PeterKellner | last post by:
I have a project where a html designer gives me a pile of html to wire up. I do that and it works fine of course. Then, the html designer makes a bunch of changes, give me back the revised aspx file and of course it always gives compiler errors. I've asked the designer not to remove any controls, div tags etc. The problem is the errors always point to lines that are not the problem. Could someone suggest a better way to work with...
1
2365
by: Jim Frazer | last post by:
Hi, I've just encountered a bunch of errors when loading a form in design mode. These errors have not occured before and don't make sense to me. In addition, none of my controls are displayed on the form. It's interesting that the project builds OK and runs properly. I'm concerned that something in the solution is corrupted. The errors are: Duplicate declaration of member 'Font' Duplicate declaration of member 'Location'
2
4686
by: dejavue82 | last post by:
Does anybody know how to resolve the following errors? They were caused by the designer.cs file that was auto-generated by the LINQ to SQL designer. I am using the March 2007 Orcas CTP version of Visual Studio. Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C: \Documents and Settings\HP_Administrator\My Documents\Visual Studio
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.