Visual Studio 2011 Express: Project Awkwardness

G

Gene Wirchenko

Dear C-Sharpies:

I have started writing small projects that I save. I am running
into a bother that I think must have a solution.

Suppose I create a project, say a Windows form project called
FormPlayaround. It will have a form Form1 created.

I wish to save the project in a directory of my choosing. I also
want to change the name of the form. (I do not like using the default
names.)

If I Save All, the project is saved, but the form is saved with
the default name. I can Save As the form, but then have the original
saved form files to delete.

If I save the form first, I have the problem of not knowing quite
where it should go.

What am I missing, please, and what should I do?

Sincerley,

Gene Wirchenko
 
R

Registered User

Dear C-Sharpies:

I have started writing small projects that I save. I am running
into a bother that I think must have a solution.

Suppose I create a project, say a Windows form project called
FormPlayaround. It will have a form Form1 created.

I wish to save the project in a directory of my choosing. I also
want to change the name of the form. (I do not like using the default
names.)

If I Save All, the project is saved, but the form is saved with
the default name. I can Save As the form, but then have the original
saved form files to delete.

If I save the form first, I have the problem of not knowing quite
where it should go.

What am I missing, please, and what should I do?
I am unfamiliar with the Express version but in the other versions
when a project is created, a non-default location can be selected.

Once the project has been created simply delete Form1 and create a new
form using whatever name you desire. Then open program.cs and change
Form1 to the name of the new form.

regards
A.G.
 
G

Gene Wirchenko

On Fri, 02 Sep 2011 18:29:41 -0700, Peter Duniho

[snip]
When you use the New Project dialog, there's a "Browse" button that lets
you choose where the project will be saved.

Not on my system. (Visual C# 2010 Express, not 2011 as in the
original subject). I just looked again to be sure. Maybe, this is a
difference between Express and NotExpress?

[snip]

Sincerely,

Gene Wirchenko
 
M

mick

Gene Wirchenko said:
On Fri, 02 Sep 2011 18:29:41 -0700, Peter Duniho

[snip]
When you use the New Project dialog, there's a "Browse" button that lets
you choose where the project will be saved.

Not on my system. (Visual C# 2010 Express, not 2011 as in the
original subject). I just looked again to be sure. Maybe, this is a
difference between Express and NotExpress?

[snip]

Sincerely,

Gene Wirchenko

When you try to save a newly created solution it will ask you where you want
to save it
and there will be a browse button there for you.

mick
 
G

Gene Wirchenko

Gene Wirchenko said:
On Fri, 02 Sep 2011 18:29:41 -0700, Peter Duniho

[snip]
When you use the New Project dialog, there's a "Browse" button that lets
you choose where the project will be saved.

Not on my system. (Visual C# 2010 Express, not 2011 as in the
original subject). I just looked again to be sure. Maybe, this is a
difference between Express and NotExpress?

[snip]
When you try to save a newly created solution it will ask you where you want
to save it
and there will be a browse button there for you.

Yes, when I try to save. Saving the project is not the problem.
The problem is that, at that point, it will save the class with its
default filename.

Sincerely,

Gene Wirchenko
 
M

mick

Gene Wirchenko said:
Gene Wirchenko said:
On Fri, 02 Sep 2011 18:29:41 -0700, Peter Duniho

[snip]

When you use the New Project dialog, there's a "Browse" button that lets
you choose where the project will be saved.

Not on my system. (Visual C# 2010 Express, not 2011 as in the
original subject). I just looked again to be sure. Maybe, this is a
difference between Express and NotExpress?

[snip]
When you try to save a newly created solution it will ask you where you
want
to save it
and there will be a browse button there for you.

Yes, when I try to save. Saving the project is not the problem.
The problem is that, at that point, it will save the class with its
default filename.

Create the project, change the name of your Form then save the project. You
can
then choose the location to save and your Form will be saved with its new
name.
Am I not understanding you properly here? :)

mick
 
G

Gene Wirchenko

[snip]
Create the project, change the name of your Form then save the project. You
can
then choose the location to save and your Form will be saved with its new
name.
Am I not understanding you properly here? :)

No, you did fine. I blindsided myself. It did not occur to me
to change the name of the form. I was thinking of the filename only.
Thank you for the help.

Sincerely,

Gene Wirchenko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top