Home All Groups Group Topic Archive Search About

Change default language from Visual Basic to C# in IDE.

Author
10 May 2007 4:38 PM
averydarkplace
Hello,

I just had Visual Studio 2005 installed. When I went throught the
initial setup I chose the language "Visual Basic" instead of "Visual
C#." I want to undo this and change the default language to "C#." I
haven't been able to find how to do this.

~ A

Author
10 May 2007 7:55 PM
Brian Schwartz
I've looked and looked for where this might be changed. The best thing I've
found so far is this registry key:
HKCU\Software\Microsoft\VisualStudio\8.0\General\NewProjectDialogPreferredLanguage.
Yours probably says VB. Mine says VC#. I found this same value name
(NewProjectDialogPreferredLanguage) in another key in HKEY_USERS. You might
do a search for that value name and just change to VC# anywhere you find it.

Hope that helps--wow, I'm amazed it's not easier.

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Fish Grid .NET Light: Powerful Layouts for Small Datasets


Show quote
"averydarkplace" <averydarkpl***@yahoo.com> wrote in message
news:1178815129.970964.298920@o5g2000hsb.googlegroups.com...
> Hello,
>
> I just had Visual Studio 2005 installed. When I went throught the
> initial setup I chose the language "Visual Basic" instead of "Visual
> C#." I want to undo this and change the default language to "C#." I
> haven't been able to find how to do this.
>
> ~ A
>
Author
11 May 2007 3:29 AM
Vijay
If you want to remove VB and add only C# to your programming environment then
you could do that using add/remove programs and click on change button for
the installation. Just uncheck vb and check off C#.

HTH
Author
11 May 2007 11:57 AM
pvdg42
"averydarkplace" <averydarkpl***@yahoo.com> wrote in message
news:1178815129.970964.298920@o5g2000hsb.googlegroups.com...
> Hello,
>
> I just had Visual Studio 2005 installed. When I went throught the
> initial setup I chose the language "Visual Basic" instead of "Visual
> C#." I want to undo this and change the default language to "C#." I
> haven't been able to find how to do this.
>
> ~ A
>

Tools->Import and Export Settings...
In the resulting dialog, choose Reset All Settings, then follow the prompts
(saving or not saving your current settings as you see fit) to Choose a
Default Collection of Settings and select C# (personally, I prefer the
General Development Settings, but it's your call).
Enjoy!


--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Author
11 May 2007 3:27 PM
Brian Schwartz
I knew there had to be a better way! I saw this menu item but was afraid it
was a nuclear, all-or-nothing option, so I didn't dig into it.

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Fish Grid .NET Light: Powerful Layouts for Small Datasets


Show quote
"pvdg42" <pvdg42@newsgroups.nospam> wrote in message
news:ewBIJO8kHHA.2552@TK2MSFTNGP06.phx.gbl...
>
> "averydarkplace" <averydarkpl***@yahoo.com> wrote in message
> news:1178815129.970964.298920@o5g2000hsb.googlegroups.com...
>> Hello,
>>
>> I just had Visual Studio 2005 installed. When I went throught the
>> initial setup I chose the language "Visual Basic" instead of "Visual
>> C#." I want to undo this and change the default language to "C#." I
>> haven't been able to find how to do this.
>>
>> ~ A
>>
>
> Tools->Import and Export Settings...
> In the resulting dialog, choose Reset All Settings, then follow the
> prompts (saving or not saving your current settings as you see fit) to
> Choose a Default Collection of Settings and select C# (personally, I
> prefer the General Development Settings, but it's your call).
> Enjoy!
>
>
> --
> Peter [MVP Visual Developer]
> Jack of all trades, master of none.
>

AddThis Social Bookmark Button