Why is VB the default language for my Application?

Customer Question: "Do I really have to change the Language setting of a new Application component every time or is there a global setting to change the language preference?

Will we remove the Visual Basic language option if I de-install Visual Basic? I really hate to have the Visual Basic option there when I code 100% of the time in C#. Please let me be able to never have to see any Visual Basic option..."

We do not have a global language setting. However, if VB is not installed we default to C#. If VB and C# are not installed, we default to J#.  

Alternatively, you can multi-select the applications and change their language to Visual C# in the properties grid. If that is unsatisfactory, you can create your own Toolbox prototypes with C# as the default language, as described in the following steps:

Tip:

Application definitions that appear on the toolbox can be customized by creating a custom prototype. This prototype will display whenever you open the Application Designer as it is a function of the designer and not the solution that was open when you created it.

One scenario for creating a custom prototype is if you want to use a language other than Visual Basic as your default language for ASP.NETWebApplications. To accomplish this, create a custom ASP.NETWebApplication prototype that uses the preferred language.

· Change the Language property for the WebApplication1 ASP.NETWebApplication to Visual C#.

· On the Application Designer, right-click on WebApplication1 and choose Add to Toolbox.

· Under Name, enter C#ASP.NETWebApplication and click OK.

· The Save File dialog box appears. The file is saved as an .adprototype, meaning that it is an application prototype for the Application Designer.

· Click Save.

Whenever the C#ASP.NETWebApplication custom prototype is used, the language will be set to Visual C# by default.