my forms turned into classes.......

  • Thread starter Thread starter rocio
  • Start date Start date
R

rocio

Hi all,

I was working fine with a bunch of forms when suddenly ALL my forms turned
into VB classes...any ideas why? Therefore, I cannot display them in design
mode. What can I do to get them back? Both files, the vb and the resx are in
the working directory, and a check on the source code of my vb files, still
displays the region for the Form definition "Windows Form Designer generated
code"
Any ideas why???? and how can I avoid this again?

BTW. I'm working with .NET 2003 and the Framework 1.1
 
Rocio,

I have found 2 methods that work:

1. remove 1 form from your project then re-add it.
2. Switch back to debug mode if you are currently in release mode.

Paul K.
 
The same thing happens to me all the time, i have to keep
closing and reopening my workspace until they go back to
normal. It is very anoying, must be a VS.net bug, but i
don't see the bug documented anywhere.
 
3. Rebuild the project

-----Original Message-----
Rocio,

I have found 2 methods that work:

1. remove 1 form from your project then re-add it.
2. Switch back to debug mode if you are currently in release mode.

Paul K.

display them in
design vb and the resx are
in of my vb files,
still Form Designer
generated


.
 
Hi,

I have encountered the same problem while in release mode. Switching back to
debug mode solves this problem.
 
This happens to me all the time in debug mode. I have two methods also:
1 - Add a new form. Then delete it.
2 - If you still have the design view available, you can just ctrl-tab to
it.
 
Just wanted to add that this started happening when I switch to .NET 2003,
it never happened to me with the previous version of .NET.

I'll see all your replies.

Thanks!
 
I have tried everything:

1. Adding a new form...it gets addedd as a class.
2. Remove an existing form and then add it again to the project.....gwts
added back as a class.
3. Rebuild the project....nothing happens.
4. Switch back & forth from Debug to Release modes.....still nothing
happens.
e. The only solution is to open a complete new project and add the existing
forms/classes to it.....

This is just getting too painful..

Please, can anyone confirm to me that this only happens with .NET 2003 and
the 1.1 framework?????
 
This bug is tracked in our database and it will be fixed in the coming
release of VS (Whidbey).

Thanks,

David


This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Mike Hildner" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: my forms turned into classes.......
| Date: Wed, 22 Oct 2003 08:51:49 -0600
| Lines: 45
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 65.121.119.34
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:36529
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| This happens to me all the time in debug mode. I have two methods also:
| 1 - Add a new form. Then delete it.
| 2 - If you still have the design view available, you can just ctrl-tab to
| it.
|
| "Paul Kay" <p.kayATtesco.netSPAM> wrote in message
| | > Rocio,
| >
| > I have found 2 methods that work:
| >
| > 1. remove 1 form from your project then re-add it.
| > 2. Switch back to debug mode if you are currently in release mode.
| >
| > Paul K.
| >
| > | > > Hi all,
| > >
| > > I was working fine with a bunch of forms when suddenly ALL my forms
| turned
| > > into VB classes...any ideas why? Therefore, I cannot display them in
| > design
| > > mode. What can I do to get them back? Both files, the vb and the resx
| are
| > in
| > > the working directory, and a check on the source code of my vb files,
| > still
| > > displays the region for the Form definition "Windows Form Designer
| > generated
| > > code"
| > > Any ideas why???? and how can I avoid this again?
| > >
| > > BTW. I'm working with .NET 2003 and the Framework 1.1
| > >
| > >
| > >
| > >
| > >
| > >
| >
| >
|
|
|
 
Back
Top