Lost form design ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I suddenly lost my form design in visual basic. When I click
on form1.vb from the solution explorer only the code opens.
What do I do to open the design window?
 
guy said:
The Designer option has disappeared from the view menu ?
shift f7 doesn't do anything ?

looks like you've lost your resx file that accompanies the .cs or .vb
file. Try reloading Visual Studio. Or remove the file from the project,
and re-add it again
 
Hi Guy,

I don't think I saw this method in the list of links, if it is I apologize.

I usually open project file with a text editor, the .csdproj for c#
or .vbproj for vb

search for the form, it will be in a section like this

<File
RelPath = "Form1.cs"
SubType = "Form"
BuildAction = "Compile"
/>

when it breaks, SubType usually goes to "Code"

usually all it takes is changing it back to "Form".

Regards,

Jerron
 
guy said:
I suddenly lost my form design in visual basic. When I click
on form1.vb from the solution explorer only the code opens.
What do I do to open the design window?

I've had the same problem..
solved by creating a new form and the delete it... the old form has it's
design window back again....

Cheers,
 
Back
Top