By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,391 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,391 IT Pros & Developers. It's quick & easy.

Removing items from the Solution Explorer in VBE 2005

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.