Ok, I'm a C# newbie.
W/o making any changes to forms themselves, I used to be able to click on a
form and it would open. Now for some forms I'm getting an error saying "An
error occurred while loading the document. Fix the error, and then try
loading the document again."
Can someone give me an idea of what could be wrong?
--B. Cavour 3 1585
Hi,
Is this in the designer?
If so, most probably some .resx files are corrupted , get the correct .resx
file based on the form that does not open, rename it and load the project
again and try to open the form in the designer
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"B. Cavour" <ca*****@thirdhayz.net> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl... Ok, I'm a C# newbie.
W/o making any changes to forms themselves, I used to be able to click on a form and it would open. Now for some forms I'm getting an error saying "An error occurred while loading the document. Fix the error, and then try loading the document again."
Can someone give me an idea of what could be wrong?
--B. Cavour
Yes it is in the designer.
I tried what you did and it still did not work
It's happening to every form now.
The odd thing is that everything builds and executes correctly
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:eE****************@TK2MSFTNGP09.phx.gbl... Hi,
Is this in the designer?
If so, most probably some .resx files are corrupted , get the correct .resx file based on the form that does not open, rename it and load the project again and try to open the form in the designer
cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "B. Cavour" <ca*****@thirdhayz.net> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Ok, I'm a C# newbie.
W/o making any changes to forms themselves, I used to be able to click on a form and it would open. Now for some forms I'm getting an error saying "An error occurred while loading the document. Fix the error, and then try loading the document again."
Can someone give me an idea of what could be wrong?
--B. Cavour
Fixed the problem.
Commented out the InitializeComponent(); from the source and then clicked on
the design. It forced it to compile again. Then I uncommented Init... and
it worked after that.
I still don't know how this problem was started.
Hope this helps someone.
"B. Cavour" <ca*****@thirdhayz.net> wrote in message
news:Od***************@TK2MSFTNGP10.phx.gbl... Yes it is in the designer. I tried what you did and it still did not work
It's happening to every form now.
The odd thing is that everything builds and executes correctly
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote in message news:eE****************@TK2MSFTNGP09.phx.gbl... Hi,
Is this in the designer?
If so, most probably some .resx files are corrupted , get the correct .resx file based on the form that does not open, rename it and load the project again and try to open the form in the designer
cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "B. Cavour" <ca*****@thirdhayz.net> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Ok, I'm a C# newbie.
W/o making any changes to forms themselves, I used to be able to click on a form and it would open. Now for some forms I'm getting an error saying "An error occurred while loading the document. Fix the error, and then try loading the document again."
Can someone give me an idea of what could be wrong?
--B. Cavour
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Matthew |
last post by:
I am not the most talented programmer to grace the earth by a long
shot. But I've got a gripe I need to air about the .NET implementaion
of Visual Basic. I can live with alot of the major changes...
|
by: James Fortune |
last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't
understand why people who know how to write code to completely replace
a front end do not write something that will automate...
|
by: Rob |
last post by:
I was working on a project and everything was going fine,
then all of a sudden the form set as my startup object
stopped loading. I tried setting some others as the
startup object, and some of my...
|
by: Scott Johnson |
last post by:
Hi!
Is there a way to "preload" a form using a thread or something else so that
my user doesn't have to wait 5 seconds (initializing time) between forms?
Some of these forms have tab strips with...
|
by: PeteSmith |
last post by:
I have an application with 2 vb.net forms and an Excel Spreadsheet. I am struggking to get the navigation betwee
the forms to work properly
On startup frmMain is loaded. This frm has a button to...
|
by: Per Dunberg |
last post by:
Hi all,
I have to develop a "skinned" application and I have a problem with the
graphics.
When a form is loaded and displayed there's aways a flicker where all the
controls are located on the...
|
by: morangolds |
last post by:
Hi,
I've been having a problem with C++ Windows Forms apps not "ending"
when you close the form window. I've searched about this problem all
over the place and most searches have lead me to...
|
by: A.Weinman |
last post by:
Hello all,
I have an application that has multiple forms, only 3 of which matter
for this issue. There is a main form that starts invisible and does
nothing more than start other forms and link...
|
by: ollebollebagare |
last post by:
For the last few days some of my web site users have been having
problems posting asp.net forms. This problem arises everytime they try
to post a form in asp.net, but never when the page is plain...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |