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
------------------------------------------------------------------------------------
[quoted text, click to view] "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" <Scanboy@discussions.microsoft.com> wrote in message
> news:52D89C72-5A6C-43BA-9CD5-C8CD0204E4DD@microsoft.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" <Scanboy@discussions.microsoft.com> wrote in message
> >> news:D4F99345-7F15-4021-A076-B52A76CF0F39@microsoft.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
> >>
> >>
> >>
>
>
That's so weird. Maybe it's the difference between the Express version and
the Professional version. Glad you found a workaround.
Robin S.
------------------------------------------------
[quoted text, click to view] "Scanboy" <Scanboy@discussions.microsoft.com> wrote in message
news:467D7AC0-E1D5-4AD8-9142-1BBB8B5F115D@microsoft.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" <Scanboy@discussions.microsoft.com> wrote in message
>> news:52D89C72-5A6C-43BA-9CD5-C8CD0204E4DD@microsoft.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" <Scanboy@discussions.microsoft.com> wrote in message
>> >> news:D4F99345-7F15-4021-A076-B52A76CF0F39@microsoft.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
>> >>
>> >>
>> >>
>>
>>
>>