| One or more errors encountered while loading the designer.The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caused it. | |
| Error HRESULT E_FAIL has been returned from a call to a COM component. Hide | |
| at EnvDTE.CodeTypeRef.get_AsFullName() at Microsoft.VisualC.CppCodeParser.OnTypePopulateMembers(Object sender, EventArgs e) at System.CodeDom.CodeTypeDeclaration.get_Members() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) | |
And sometimes I get another error message concerning the Code Parser.
What should I do
With Thanks,
Gal Beniamini.

Designer problem
Uttam5555
With Thanks,
Gal Beniamini.
Precis
Please try the RC build. Beta and CTP releases had many problems with IntelliSense parsing which negatively affected the ability to design forms using the designer.
Thanks,
Big Bill
This problem is not a one time problem and tends to repeat itself once my code grows larger, I also get another error from time to time saying:
CppCodeParser Error:
at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e)
at System.CodeDom.CodeMemberMethod.get_Statements()
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
Could you please redirect me to someone who might know how to solve this issue
With Thanks,
Gal Beniamini.
NickBarclay
Ok, I've found a way around it.
On the project, Add a new windows form and open the designer for it (call it what you like).
Save and close the project. Exit VC++ just to be safe.
Re-open the file, and hey presto, your original designer should appear.
It appears to be a very annoying bug
Victor Ramiro
Which version of Visual C++ are you using
Prior to the RC build of Visual C++ 2005, the Windows Forms Designer has been pretty horrible. The RC build behaves a lot better, although it still crashes often enough and the code it generates is pretty ugly. As much as I like Visual C++, I tend to recommend that developers use Visual C# for Windows Forms development calling Visual C++ built assemblies as needed. The Visual C# Forms Designer is much more mature. The two languages use the same design-time component but the backend code generator for C# is much better.
Sorry I can’t provide any more help.
Cheers,
Kenny Kerr
Microsoft MVP
http://weblogs.asp.net/kennykerr/