This gets weirder! I have just discovered that ocne this happens, I am unable to open the code or designer windows for the form. The first time I try to do so after restarting VS, it opens a window containing line after line that looks like this:
00000000 00 00 00 00 00 00 00 00 00...
00000010 00 00 00 00 00 00 00 00 00...
It also opens a dialog box that says the vb
files is already open and asks me if I want to close it. Responding with Yes, or attempting to open the form.vb
file returns this message:
There is no editor available for
Make sure the application of the file type (.vb) is installed.
I then tried opening the form.vb
in Notepad. Unlike other form.vb
files, it appears to be 5K of null values. VS seems to have eaten all of the code! And if I then try running it in the debugger, it throws this error during compilation:
Unable to open module file 'form.vb': System Error &H80041feb&
Interestingly, I am still able to edit VB
classes in the same project, not that thats of much help if I can't even run it now.
Off to create yet another new project to see if I can figure out how to avoid this. <sigh>