Forms Designer quits working

  • Thread starter Thread starter Bill Jones Jr.
  • Start date Start date
B

Bill Jones Jr.

The Forms icon suddenly stopped coming up in the Solution
Viewer on 2 of 3 forms. Right-click "open with" on a
Forms source file did NOT offer the designer as an
option. After comparing vbproj and vbproj.user files
between the problem solution and a "Hello World" project,
noticed a complicated "Reference Path" in the vbproj.user
file. Eliminated the ref path and got the designer back.
I don't explain, I just report.

From working vbproj.user file:
<VisualStudioProject>
<EVisualBasic>
<Build>
<Settings
DeploymentDevice = "Windows CE Emulator"
ReferencePath = ""
Guess I need to SourceSafe more often.
 
ive come across the same problem and was able to fix it by
going into the code to the line

Inherits System.Windows.Forms.Form
backspacing to forms so intellisence comes up and then
selecting form again.

Do ask me why this works but Ive had to do it several times
 
Sorry 'bout the empty post -- it's been a long week... oh
yeah, we're in the 2nd week now aren't we.

Anyway -- I've had mixed results with the .resx bit so I
didn't try that this time.
 
Great idea -- thanks for the response. My next stop was
going to be the inherits since I kept seeing posts about
how breaking that breaks the form designer. I didn't know
what I was gonna do when I GOT there... but that's where I
was headed next.

I like your way -- but I wonder if that also gens a change
in the vbproj.user file? If I can get the fine piece of
handcrafted code shipped -- I'll try to get back and test
that.
 
Back
Top