Unable to delete controls.

  • Thread starter Thread starter Russ
  • Start date Start date
R

Russ

Hi,

For some reason I appear to have lost the ability to delete controls in the
designer (VS.net 2003)

When I right click on any control all the options are blanked out apart from
'View Code' at the top. The Del key doesn't work either. I can still drag
controls around the form but deleting them is impossible. I don't really
want to go hack out all the definitions from the code...

Any ideas?

Thanks,
Russ
 
Hello Russ,
Sorry, due to limited information I can't give you any useful suggestions
for now. But have you tried resintalling the VS.NET? I think this maybe
helpful, because their might be some unknown software which
changed/overwrote the components or settings of VS.NET.
If you still have the problem after reinstalling, please give me some
detail information to let me reproduce your problem, thanks!


Kind regards,

Ying-Shen Yu [MSFT]
Microsoft Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
| From: "Russ" <[email protected]>
| Subject: Unable to delete controls.
| Date: Wed, 20 Aug 2003 00:05:10 +0100
| Lines: 17
| 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.windowsforms
| NNTP-Posting-Host: client-1774-p1-sms.glfd.adsl.virgin.net 81.107.230.237
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:50569
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi,
|
| For some reason I appear to have lost the ability to delete controls in
the
| designer (VS.net 2003)
|
| When I right click on any control all the options are blanked out apart
from
| 'View Code' at the top. The Del key doesn't work either. I can still
drag
| controls around the form but deleting them is impossible. I don't really
| want to go hack out all the definitions from the code...
|
| Any ideas?
|
| Thanks,
| Russ
|
|
|
|
 
Hi Ying,

It's the weirdest thing. I tried closing and re-opening VS.NET several
times yesterday (and once even re-booted) but I still could not delete any
controls in the desiger. This morning I launched .NET, pulled up my form,
selected a control, pressed the Del key and it worked!

Maybe it's something to do with the Y2.3K bug or it doesn't like Tuesdays?

Anyway, it seems fine now.

Thanks for your time,
Russ
 
Hi Russ,
Glad to hear the problem disappeared, then I'll close this post ,but if
you meet the problem again, be free to let me know, thanks!


Kind regards,

Ying-Shen Yu [MSFT]
Microsoft Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
| From: "Russ" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: Unable to delete controls.
| Date: Wed, 20 Aug 2003 08:15:14 +0100
| Lines: 84
| 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.windowsforms
| NNTP-Posting-Host: client-1774-p1-sms.glfd.adsl.virgin.net 81.107.230.237
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:50590
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi Ying,
|
| It's the weirdest thing. I tried closing and re-opening VS.NET several
| times yesterday (and once even re-booted) but I still could not delete any
| controls in the desiger. This morning I launched .NET, pulled up my
form,
| selected a control, pressed the Del key and it worked!
|
| Maybe it's something to do with the Y2.3K bug or it doesn't like Tuesdays?
|
| Anyway, it seems fine now.
|
| Thanks for your time,
| Russ
|
|
|
|
|
|
|
| | > Hello Russ,
| > Sorry, due to limited information I can't give you any useful
| suggestions
| > for now. But have you tried resintalling the VS.NET? I think this maybe
| > helpful, because their might be some unknown software which
| > changed/overwrote the components or settings of VS.NET.
| > If you still have the problem after reinstalling, please give me some
| > detail information to let me reproduce your problem, thanks!
| >
| >
| > Kind regards,
| >
| > Ying-Shen Yu [MSFT]
| > Microsoft Support Engineer
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > You assume all risk for your use. 2001 Microsoft Corporation. All
rights
| > reserved.
| > --------------------
| > | From: "Russ" <[email protected]>
| > | Subject: Unable to delete controls.
| > | Date: Wed, 20 Aug 2003 00:05:10 +0100
| > | Lines: 17
| > | 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.windowsforms
| > | NNTP-Posting-Host: client-1774-p1-sms.glfd.adsl.virgin.net
| 81.107.230.237
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.windowsforms:50569
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
| > |
| > | Hi,
| > |
| > | For some reason I appear to have lost the ability to delete controls
in
| > the
| > | designer (VS.net 2003)
| > |
| > | When I right click on any control all the options are blanked out
apart
| > from
| > | 'View Code' at the top. The Del key doesn't work either. I can
still
| > drag
| > | controls around the form but deleting them is impossible. I don't
| really
| > | want to go hack out all the definitions from the code...
| > |
| > | Any ideas?
| > |
| > | Thanks,
| > | Russ
| > |
| > |
| > |
| > |
| >
|
|
|
 
Hello,

Ying-Shen Yu said:
Glad to hear the problem disappeared, then I'll close this post ,but if
you meet the problem again, be free to let me know, thanks!

In the german VB .NET ng a similar bug has been reported. In VS .NET 2003
controls which were placed inside a TabPage could not be deleted. I was not
able to reproduce this but I was told that some menu items were missing and
Del didn't work either.

Regards,
Herfried K. Wagner
 
Hello All,
If you have met the similiar problem, please try to give us more
information about it. We will try to reproduce your problem and confirm if
it is a bug, thanks!


Kind regards,

Ying-Shen Yu [MSFT]
Microsoft Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
| From: "Russ" <[email protected]>
| References: <[email protected]>
<[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Unable to delete controls.
| Date: Thu, 21 Aug 2003 07:57:39 +0100
| Lines: 31
| 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: <ePsg#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| NNTP-Posting-Host: client-2567-p1-sms.winn.adsl.virgin.net 81.107.202.6
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:50679
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Herifried,
|
| Yes, that's exactly what it was. All my contols were inside a tabpage.
|
| Russ
|
|
| | > Hello,
| >
| > > Glad to hear the problem disappeared, then I'll close this post ,but
if
| > > you meet the problem again, be free to let me know, thanks!
| >
| > In the german VB .NET ng a similar bug has been reported. In VS .NET
2003
| > controls which were placed inside a TabPage could not be deleted. I was
| not
| > able to reproduce this but I was told that some menu items were missing
| and
| > Del didn't work either.
| >
| > Regards,
| > Herfried K. Wagner
| > --
| > MVP · VB Classic, VB .NET
| > http://www.mvps.org/dotnet
| >
| >
|
|
|
 
Hi,
I'm experiencing the same problem. I have a huge project, which has been working fine up until recently. Now I am no longer able to delete controls. There are however a few details to this:

When I open the project and select the Main form, I can select any control which is visible and delete it. I can also add new controls and delete them again.

However, as soon as I select the TabControl on the form and change the tab page, I am no longer able to delete any controls, neither on the TabPage nor any other control on that form. But I can still add new controls to the form and/or tab pages, but not delete them again afterwards.

I have tried to create a new project with a tab control and some tab pages and put buttons on the tab page, and I'm not able to recreate the problem! I can delete any control on this project.

If I then open the old project again, and actiave the TabControl, the delete option on the right click menu goes grey, and nothing happens when I press the delete button after selecting any control.

Someone told me to delete the solutions file (.suo), but that didn't help either!

This is really annoying! Please help!

Best regards,
Falko
 
Back
Top