.NET Visual Basic CF - Can't "view designer"

  • Thread starter Thread starter Terje
  • Start date Start date
T

Terje

Have been working with a form for a long time.

Suddenly I cant get into the "designer mode" but only the
code view.
The forms icon in "Solution explorer" has changed to a
different look.

Have I "messed up" something in the code, or is there a
bug in the development environment?

Someone out there, who can give some advice to an novice
VB-programmer???
 
Terje said:
Have been working with a form for a long time.

Suddenly I cant get into the "designer mode" but only the
code view.
The forms icon in "Solution explorer" has changed to a
different look.

I think this is a bug in the ide.
I got the same prob sometime.

Just do this: go to the "Inherits System.Windows.Forms.Form" line,
delete ".Form", retype the ".Form" (so intellisense force the ide).

See you.
 
-----Original Message-----
Have been working with a form for a long time.

Suddenly I cant get into the "designer mode" but only the
code view.
The forms icon in "Solution explorer" has changed to a
different look.

It happens on occasion. I usually just rebuild the
project and then I can use the designer again. I've never
tried the suggestion given by the other poster, I'll have
to give that a try the next time it happens.
 
I just had this happen to me, also. I fixed it by adding "Imports System"
to my form's code file (at the very top). Somehow, it had been removed.
 
I get this all the time -- in addition to this problem, project references
(even though they are listed under references) are not recognized. For
example, references added to OpenNETCF.Winapi, although present, act as if
they aren't there as the project will not compile. This usually happens
when loading the project.

If I remove the reference and re-add it, all the forms "come back" and are
recognized as forms, opening in the designer, and of course suddenly the
reference is recognized. Weird bug.

Brian
 
Back
Top