HELP! Cannot see design view of form

kmdames

New member
Joined
Jan 3, 2009
Messages
3
Programming Experience
1-3
I was loading my project when my computer rebooted suddenly. After it came back up, I went to load my project again and got an error about "an error occured when loading in the design view..this has been disabled" - sorry I did not get the exact message but it was something like this. Then when my project opened up, I now cannot see my form in the design view anymore. It still run's fine, but there is no code displayed and the form itself does not display in IDE anymore. I can see the code for the form only on the form.designer.vb mode.

I have continues backup installed, and restored several versions of the class files for the form, but yet still no luck.

Any help will be appreciated!
 
Last edited:
I did not get the exact message but it was something like this.

That's never a good sentence to start with...if I have learned one thing, then to read error messages (though, they are more helpful under Linux then under Windows), or at least post the whole error message so others can read and interpret it.

The part you told us is the generic part which covers a thousand or so different error conditions.

Bobby
 
I have an idea of a solution, this happened to me once and i fixed it but cant remember how.. but i think its..

VB.NET:
COPY YOUR PROJECT TO THE DESKTOP!
IF YOU HAVE A BACKUP GO INTO THAT FOLDER!
GET THE .SLN OUT OF YOUR BACKUP!
PASTE IT INTO THE FOLDER ON THE DESKTOP!
GO INTO YOUR VB PROGRAMMING STUDIO!
CLICK OPEN, GO ON DESKTOP, GO IN FOLDER, SELECT THE .SLN

another way is..

VB.NET:
COPY YOUR PROJECT TO THE DESKTOP!
IF YOU HAVE A BACKUP GO INTO THAT FOLDER!
GO INTO THE NEXT FOLDER!
COPY THE .VBPROJ AND .VBPROJ.USER AND ALL THE .RESX !
GO IN THE FOLDER ON THE DESKTOP!
INTO THAT FOLDER!
PASTE THE ITEMS INTO THERE!
GO INTO YOUR VB PROGRAMMING STUDIO!
CLICK OPEN, GO ON DESKTOP, GO IN FOLDER, SELECT THE .SLN

if not, do them both together
 
Thanks TONYCREW. I was trying what you said and eventually got the form back by restoring all files except for the .RESX. When I deleted the form from the project, i noticed al of the form files were gone except for the .RESX. SO I restored all of the files from backup and did not restore the .RESX, and it worked! Kind of crazy but glad to get it back. I will be using source save from now on, others with this same problem reverted back to previous versions much quicker than I was able to get this resolved.. Thanks!
 
Back
Top