473,831 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB-101: Changing project names

I saved a project accepting the defaults name “ConsoleAppli cation2”. 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
‘ConsoleAppli cation2’. 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 2017
"John Pass" <Jo******@discu ssions.microsof t.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleAppli cation2’. 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
WindowsApplicat ion1 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******@discu ssions.microsof t.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleAppli cation2’. 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 "ConsoleApplica tion1".

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******@discu ssions.microsof t.com> schrieb:
but the solution name (in the Solution explorer window) is still listed as
‘ConsoleAppli cation2’. 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******@discu ssions.microsof t.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
486
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, they will probably be rewritten in ASP.Net. I have looked into both and I don't see anything that would scream out to use one or the other. So at this point, it is still a toss up. However, I want to look at the two languages from a different perspective. That is from a career point of view....
7
1811
by: Simon Peng | last post by:
-- ---------------- Simon Peng xqpeng@tsinghua.org.cn
182
7587
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
19
3093
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). I found the book has no programming exercise provided about how VB.NET work with XML documents (certification objective 15.02). I'm now searching for some example source codes to assist my study. Could anyone also suggest me some useful online study resources ?
39
2547
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 conjecture. I did not get serious about writing software until I learned ASP/VBS (if that can be called writing software) as my focus was and remains for the most part developing for the web. Even though I have had a programming class in C which I somehow passed, JavaScript always gave me the heeby...
62
5207
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 CLR(Common Language Runtime) goes. It was retrofited into the .Net framework for those people who simply don't, and do not care to, understand object oriented programming. Quite a few of it's (features) were forced into the language through very ugly means to make it easier for the VB guys to...
14
1804
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
4899
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 problem and less on being "tidy" with VB. But, I fear that many don't take VB.NET seriously, particularly in scientific programming. They ask; "What do you code in?" and you say; "VB.NET." Conversation over.
0
9794
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10778
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10496
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10210
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9319
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7750
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5788
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.