|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
windows control libraryadded this control to a form .Run the form is ok also.After i modified the control to add some new features and i had some errors i don't have access to the form .I rebuild the solution, i rebuild the control library, is for nothing.Even I undo the changes, i recompiled the control library , so now is like at the beggining , i still don't have access to the form, only to code of the form. When I tried to see the form it shows me the following error: 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. The variable 'NrSystemForAccounts1' is either undeclared or was never assigned. Hide Edit at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(I Desi gnerSerializationManager manager, String exceptionText, String helpLink) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria lize Expression(IDesignerSerializationManager manager, String name, CodeExpression expression) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria lize Expression(IDesignerSerializationManager manager, String name, CodeExpression expression) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria lize Statement(IDesignerSerializationManager manager, CodeStatement statement) How I can correct this problem ? Thank you, Mihai In the "Solution Explorer" where it lists all of your forms, click the
"Show all files" icon on the toolbar, then click the + next to the form you can't view. Double-click the file that ends with ".Designer.vb". Look through the code and delete any reference to your control. There should be a red line under it. Once it's all deleted, you should be able to view the form designer and add a new control. Show quoteHide quote On Mon, 02 Oct 2006 23:06:04 GMT, "Mihai Velicu" <bvel***@telus.net> wrote: >I created a control library and i created a control.I can test it is ok.I >added this control to a form .Run the form is ok also.After i modified the >control to add some new features and i had some errors i don't have access >to the form .I rebuild the solution, i rebuild the control library, is for >nothing.Even I undo the changes, i recompiled the control library , so now >is like at the beggining , i still don't have access to the form, only to >code of the form. > >When I tried to see the form it shows me the following error: > >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. > >The variable 'NrSystemForAccounts1' is either undeclared or was never >assigned. > >Hide Edit > >at > >System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(I > >Desi > >gnerSerializationManager manager, String exceptionText, String helpLink) > >at > >System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria > >lize > >Expression(IDesignerSerializationManager manager, String name, >CodeExpression expression) > >at > >System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria > >lize > >Expression(IDesignerSerializationManager manager, String name, >CodeExpression expression) > >at > >System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Deseria > >lize > >Statement(IDesignerSerializationManager manager, CodeStatement > >statement) > >How I can correct this problem ? > >Thank you, > >Mihai >
MDI Min Max - still there
Q: closing forms da.update bool--> yes/no RuntimeHelpers.GetObjectValue Discussion Re: Reading a list of users from XP Writing Custom DLLs in VB.net 2 Accessing the Class Name of a Shared Method use try catch to check a text box copy and paste into webbrowser Recursive Directory / File Listing With Progress? |
|||||||||||||||||||||||