472,353 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

VB-101: Changing project names

I saved a project accepting the defaults name “ConsoleApplication2”. After
adding the code, I changed the name using “Rename” in the file directory.
After opening the file, the project name is indeed changed, but the solution
name (in the Solution explorer window) is still listed as
‘ConsoleApplication2’. How to I change that? What is the recommended way to
change the names of the various file types?

Thanks for your help,

Regards,
Nov 21 '05 #1
5 1933
"John Pass" <Jo******@discussions.microsoft.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleApplication2’. How to I change that? What is the recommended way
to
change the names of the various file types?


Select the solution in the solution explorer, press the F2 key and enter the
new name.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
Thanks for your reply Herfried,

I did that and it changes the name of the solution but makes no changes to
the name of the file folder in My Documents/Visual Studio Project. I guess
that I have to make the name changes twice, once for each file and once for
the folder name.

I wonder why that is the case since initially (by default) the name
WindowsApplication1 is given to both automatically. Does it serve a function
to have different names for each.

Regards,
"Herfried K. Wagner [MVP]" wrote:
"John Pass" <Jo******@discussions.microsoft.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleApplication2’. How to I change that? What is the recommended way
to
change the names of the various file types?


Select the solution in the solution explorer, press the F2 key and enter the
new name.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Yes, you will need to close your project folder & rename it manually - What
hardships :))

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #4
And even after changing the solution and the folder name, the files with
extension .sln and .suo still have name "ConsoleApplication1".

Also, are there negative consequences of changing files names within a
project; will the program look for the "old" files names and crash or other?

I guess that one better assigns the final name to a new project while
generating the new project name.

Thanks,

"Herfried K. Wagner [MVP]" wrote:
"John Pass" <Jo******@discussions.microsoft.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleApplication2’. How to I change that? What is the recommended way
to
change the names of the various file types?


Select the solution in the solution explorer, press the F2 key and enter the
new name.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5
"John Pass" <Jo******@discussions.microsoft.com> schrieb:
I did that and it changes the name of the solution but makes no changes to
the name of the file folder in My Documents/Visual Studio Project. I guess
that I have to make the name changes twice, once for each file and once
for
the folder name.


Yes, you'll have to rename the folder in explorer.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6

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

Similar topics

16
by: Terry | last post by:
Hi, I need some feedback. We are converting to .Net and we are trying to decide on whether to use VB.net or C#.net. As far as our current systems,...
7
by: Simon Peng | last post by:
-- ---------------- Simon Peng xqpeng@tsinghua.org.cn
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
19
by: lonelyplanet | last post by:
Hi, I'm studying for 70-306 using the book "MCAD/MCSD Visual Basic .NET Windows Applications" published by McGraw Hill (ISBN: 0-07-212583-7). ...
39
by: clintonG | last post by:
This is not about starting a fight but an observation that seems to be proving itself on its own merit and is therefore simply a point of...
62
by: zacks | last post by:
A co-worker where I work is proposing all future code devopment be done in Visual C#. Here is his assessment of VB: VB.NET is hack as far as the...
14
by: John Smith | last post by:
Can someone convert from C# into VB this line for me: if (c is System.Web.UI.HtmlControls.HtmlForm)
111
by: =?Utf-8?B?bWFyaw==?= | last post by:
Fact Poll I made the transition from (Borland) C++ to VB.NET around 2004. I have been happy with the choice. I find I can focus more on the...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

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.