Forms Designer quits working

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.
 
S

Shane Wilson

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
 
B

Bill Jones Jr.

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.
 
B

Bill Jones Jr.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top