473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Removing items from the Solution Explorer in VBE 2005

Guyz,

I want to remove items from the Solution Explorer. The VBE 2005 help system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution Explorer, and the
'Remove' option is not even listed in the 'Edit' menu in the VBE 2005 menu
system.

The only thing that is available is the 'Delete' option when I right-click
on the
item in Solution Explorer, but this permamently deletes the file from the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store files I want to
remove from the Solution Explorer in case I want to reuse them later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do I add it
to
Solution Explorer?
SB
Jan 30 '07 #1
5 1514
Right-click on the item and choose "Exclude From Project".

Robin S.
------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:D4**********************************@microsof t.com...
Guyz,

I want to remove items from the Solution Explorer. The VBE 2005 help
system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution Explorer, and
the
'Remove' option is not even listed in the 'Edit' menu in the VBE 2005
menu
system.

The only thing that is available is the 'Delete' option when I
right-click
on the
item in Solution Explorer, but this permamently deletes the file from the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store files I
want to
remove from the Solution Explorer in case I want to reuse them later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do I add
it
to
Solution Explorer?
SB

Jan 30 '07 #2
Rob,

Hello again! :) The problem is that there is no 'Exclude from project' menu
item when I right-click on the item in SE.

What I get is:-

Open Open With ...

followed by a separator bar, then:-

View Code

then another separator then:-

Cut Copy Delete Rename

then a third separator before we come to the last:-

Properties
SB
-----------------------------------------------------------------------------------------------
"RobinS" wrote:
Right-click on the item and choose "Exclude From Project".

Robin S.
------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:D4**********************************@microsof t.com...
Guyz,

I want to remove items from the Solution Explorer. The VBE 2005 help
system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution Explorer, and
the
'Remove' option is not even listed in the 'Edit' menu in the VBE 2005
menu
system.

The only thing that is available is the 'Delete' option when I
right-click
on the
item in Solution Explorer, but this permamently deletes the file from the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store files I
want to
remove from the Solution Explorer in case I want to reuse them later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do I add
it
to
Solution Explorer?
SB


Jan 30 '07 #3
How about under the Project option on the top menu
(File/Edit/View/Project/Build...). Does it have an "Exclude from Project"
option?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Rob,

Hello again! :) The problem is that there is no 'Exclude from project'
menu
item when I right-click on the item in SE.

What I get is:-

Open Open With ...

followed by a separator bar, then:-

View Code

then another separator then:-

Cut Copy Delete Rename

then a third separator before we come to the last:-

Properties
SB
-----------------------------------------------------------------------------------------------
"RobinS" wrote:
>Right-click on the item and choose "Exclude From Project".

Robin S.
------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:D4**********************************@microso ft.com...
Guyz,

I want to remove items from the Solution Explorer. The VBE 2005 help
system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution Explorer,
and
the
'Remove' option is not even listed in the 'Edit' menu in the VBE 2005
menu
system.

The only thing that is available is the 'Delete' option when I
right-click
on the
item in Solution Explorer, but this permamently deletes the file from
the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store files I
want to
remove from the Solution Explorer in case I want to reuse them later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution
Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do I
add
it
to
Solution Explorer?
SB



Jan 31 '07 #4
Rob,

This is what appears when I click on the 'Project' menu item:-

Add Windows Form ...
Add User Control ...
Add Module ...
Add Class ...
---------------------------
Add New Item ...
Add Existing Item ...
---------------------------
Show All Files
---------------------------
Add Reference ...
Add Web Reference ...
---------------------------
Project1 Properties ...
I have just thought up a different way.

1. Double-click on any item in the Solution Explorer, to bring up the code
window for that item.

2. Save the item with ' Save Form1.vb ' using the ' Save ... ' in the '
File ' menu.

3. Next, save a copy of the item, entitled ' Form1-2.vb ' with ' Save ...
As '.

4. When you have saved the copy, then right-click on that item and remove
it from
the project with ' Delete '.

5. That way, the copy gets deleted from the disk, but the original is still
present on
the disk.
SB
------------------------------------------------------------------------------------
"RobinS" wrote:
How about under the Project option on the top menu
(File/Edit/View/Project/Build...). Does it have an "Exclude from Project"
option?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Rob,

Hello again! :) The problem is that there is no 'Exclude from project'
menu
item when I right-click on the item in SE.

What I get is:-

Open Open With ...

followed by a separator bar, then:-

View Code

then another separator then:-

Cut Copy Delete Rename

then a third separator before we come to the last:-

Properties
SB
-----------------------------------------------------------------------------------------------
"RobinS" wrote:
Right-click on the item and choose "Exclude From Project".

Robin S.
------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:D4**********************************@microsof t.com...
Guyz,

I want to remove items from the Solution Explorer. The VBE 2005 help
system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution Explorer,
and
the
'Remove' option is not even listed in the 'Edit' menu in the VBE 2005
menu
system.

The only thing that is available is the 'Delete' option when I
right-click
on the
item in Solution Explorer, but this permamently deletes the file from
the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store files I
want to
remove from the Solution Explorer in case I want to reuse them later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution
Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do I
add
it
to
Solution Explorer?
SB


Feb 1 '07 #5
That's so weird. Maybe it's the difference between the Express version and
the Professional version. Glad you found a workaround.

Robin S.
------------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Rob,

This is what appears when I click on the 'Project' menu item:-

Add Windows Form ...
Add User Control ...
Add Module ...
Add Class ...
---------------------------
Add New Item ...
Add Existing Item ...
---------------------------
Show All Files
---------------------------
Add Reference ...
Add Web Reference ...
---------------------------
Project1 Properties ...
I have just thought up a different way.

1. Double-click on any item in the Solution Explorer, to bring up the
code
window for that item.

2. Save the item with ' Save Form1.vb ' using the ' Save ... ' in the '
File ' menu.

3. Next, save a copy of the item, entitled ' Form1-2.vb ' with ' Save
...
As '.

4. When you have saved the copy, then right-click on that item and
remove
it from
the project with ' Delete '.

5. That way, the copy gets deleted from the disk, but the original is
still
present on
the disk.
SB
------------------------------------------------------------------------------------
"RobinS" wrote:
>How about under the Project option on the top menu
(File/Edit/View/Project/Build...). Does it have an "Exclude from
Project"
option?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:52**********************************@microso ft.com...
Rob,

Hello again! :) The problem is that there is no 'Exclude from
project'
menu
item when I right-click on the item in SE.

What I get is:-

Open Open With ...

followed by a separator bar, then:-

View Code

then another separator then:-

Cut Copy Delete Rename

then a third separator before we come to the last:-

Properties
SB
-----------------------------------------------------------------------------------------------
"RobinS" wrote:

Right-click on the item and choose "Exclude From Project".

Robin S.
------------------------------------------
"Scanboy" <Sc*****@discussions.microsoft.comwrote in message
news:D4**********************************@microso ft.com...
Guyz,

I want to remove items from the Solution Explorer. The VBE 2005
help
system
claims that to do this, you have to:-

1. Select the item you want to remove.

2. On the 'Edit' menu, choose 'Remove'.

The problem is that there is no 'Edit' menu in the Solution
Explorer,
and
the
'Remove' option is not even listed in the 'Edit' menu in the VBE
2005
menu
system.

The only thing that is available is the 'Delete' option when I
right-click
on the
item in Solution Explorer, but this permamently deletes the file
from
the
disk,
not from the solution, which is not what I want.

I have had to resort to creating a 'Backup' directory to store
files I
want to
remove from the Solution Explorer in case I want to reuse them
later.

There must be a better way to remove items from the SE.

1. How do I remove items from the solution in the Solution
Explorer?

2. Where do I find the 'Edit' menu? If it is missing, how do
I
add
it
to
Solution Explorer?
SB



Feb 1 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! I'v been struggeling with removing selected items from a listview. Anyone that can give me a piece of code that does this? I am a newbee to this C# and cant figure it out.... Regards...
1
by: =?Utf-8?B?U2NhbmJveQ==?= | last post by:
Guyz, I want to remove items from the Solution Explorer. The VBE 2005 help system claims that to do this, you have to:- 1. Select the item you want to remove. 2. On the 'Edit' menu,...
13
by: Larry Bud | last post by:
Trying to conditionally remove menu items of the 2.0 .NET menu item control and I'm stumped. This removed a root level item: Menu1.Items.Remove(Menu1.FindItem("Administration")) But this...
3
by: Ryan Liu | last post by:
I was supervised that Vista is so difficult to use(e.g. search), lost so many good features (e.g. go upper level folder) and so unstable(even MS own programs will hang up, back to Windows 95/98...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.