Re: How to fix a corrupted form?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I tried that, but VS balked. I tried coaxing VS to rebuild the resx file,
but it resulted in an empty resx. I'm afraid I'll just have to rebuild it.
Unfortunately, I have been lax in backing things up regularly. Silly me. A
painful lesson. I suould know better.

GS

"Brian Schwartz" <owner@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OSNipXYmHHA.4132@xxxxxxxxxxxxxxxxxxxxxxx
Perhaps start by opening the form's code in a plain text editor like
Notepad, find the InitializeComponent procedure (in form.designer.vb,
perhaps), and comment out all the lines in it, or at least any lines that
reference components mentioned in the errors. Save and close the file,
then see if it will open in Visual Studio. See how far that gets you...

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Fish Grid .NET Light: Powerful Layouts for Small Datasets


"George Shubin" <dx@xxxxxxxxxxxx> wrote in message
news:uYIe6iNmHHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
Yesterday, all was fine with my project. I closed it and turned off the
computer.

Today, I try to open up a form and I get the error message shown here:
"ObjectDisposedException" Cannot access a disposed object named
"TextEdit".

After clicking on OK, the second error message appears:
"There is no editor available for <my file name> Make sure the
application
for the file type (.vb) is installed."

I'm using VS2003, and I tried reinstalling all the third-party controls
that
I am using, which completed with no problems, but to no avail. The
problem
seems to be in this one form only. My other forms are loading up and
displaying OK.

What's a fella to do? How do I trace the corruption in this one form? How
do I fix it besides completely recreating the form?

GS







.



Relevant Pages

  • Re: problem with ld-elf.so.1
    ... I've done what you said and could rebuild some packages including ... gettext and pkgconfig but the previous error message remains for ... The other applications seem to work well. ... >> meantime I installed several ports and things were not going too bad, ...
    (freebsd-questions)
  • Re: HELP!! database wont rebuild and I cant access email anymore.
    ... when i click to rebuild database, ... the error message, "To rebuild the database, quit all other Microsoft Office ...
    (microsoft.public.mac.office.entourage)
  • Re: compile .net on vista, cant run on xp
    ... directory structure and does some string parsing on the files it ... that this exception occurs during the initialization, ... Is there a way to find the error message or type in this situation? ... deleted the reference to the main forms icon in the .resx file ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Database corruption after successful rebuild
    ... excluded the Main Identity folder from Time Machine exactly because of ... completed successfully, but when I start Entourage the next time, I still get ... Sometimes the rebuild utility is just plain wrong when it confirms completed ... identity without apparent problems (aside from the error message) and nothing ...
    (microsoft.public.mac.office.entourage)
  • Re: Microsoft Database Utility has encountered a problem and needs
    ... identity to get around the 2008 4/5 rebuild error message. ... I have a large database and when I try and open entourage, ... tried under 2008 it would get to 4/5 and give me the same error message. ...
    (microsoft.public.mac.office.entourage)