Welcome to MSDN Blogs Sign in | Join | Help

Customizing Menu Options in Visual Studio

This is one of the cool features that is offered in Visual Studio 2005. I came across this recently, when one of our customers was unable to find the location of the Java Language Conversion Assistant in the normal File -> Open -> Convert... menu of Visual Studio. When I dug deeper into the same here is what I observed.

Visual Studio 2005 Team Edition comes with 7 options as the default settings which a user can choose. They are
1. General Development Settings
2. Team Test Settings
3. Visual Basic Development Settings
4. Visual C# Development Settings
5. Visual C++ Development Settings
6. Visual J# Development Settings
7. Web Development Settings

When a user starts Visual Studio for the first time, Visual Studio prompts the user to select one of these settings and makes it the default setting for that system. The default menu options for the various Visual Studio menu choices are different for the different settings that a user chooses as default for Visual Studio.

The JLCA tool can be accessed from all but the following settings from the above menu
1. Visual Basic Development Settings
2. Web Development Settings

The normal way to access JLCA from Visual Studio is

This enables the user to reach the dialogue box as shown below to access the JLCA tool

Choosing JLCA in this dialogue box launches the JLCA Wizard where-in a user can feed in the options for converting the Java/VJ++ source code to C#.

For the two settings where JLCA cannot be accessed from the above option, here are the two ways to launch the same:

1. Customizing the Menu Option
2. Changing the default settings for Visual Studio

The way a user can customize the Menu Options in Visual Studio is as follows:

  • Suppose we are in the Visual Basic (or any other) Visual Studio setting
  • Goto Tools -> Customize

  • In the Customize dialog box, goto Commands, choose File

  • Click on Rearrange Commands… button, choose Add, goto File, choose the Convert Command and click OK

  • This would add the Convert... option in the File Menu. The File menu item now look like this

The way a user can change the default user settings is shown below

  • Goto Tools->Import And Export Settings...

  • Choose "Reset All Settings" and click Next

  • In case you want to save your current settings, save as appropriate. Or else, choose to reset settings overwriting the current settings 

  • This would let you choose one of the possible 7 default settings. Choose the wanted setting and click Finish.

Hope this helps you :)

Published Thursday, February 16, 2006 8:51 PM by GauravS

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Customizing Menu Options in Visual Studio

Thursday, August 31, 2006 11:41 AM by Sunny
I had the same exact problem.  Thanks for the solution.  

# Visual J# 2.0 Redist Second Edition: Targeting Different Platforms using Visual Studio 2005

Thursday, June 07, 2007 6:12 AM by Gaurav Seth's WebLog

Visual J# applications were designed to be built in an “x86” only mode using Visual Studio 2005. The

# Visual J# 2.0 Redist Package Second Edition: Targeting Different Platforms using Visual Studio 2005

Thursday, June 07, 2007 6:37 AM by Gaurav Seth's WebLog

Visual J# applications were designed to be built in an “x86” only mode using Visual Studio 2005. The

# MSDN Blog Postings · Visual J# 2.0 Redist Package Second Edition: Targeting Different Platforms using Visual Studio 2005

# re: Customizing Menu Options in Visual Studio

Wednesday, August 15, 2007 8:47 AM by jg

thanks for the article. this solved my problem! great!

# re: Customizing Menu Options in Visual Studio

Thursday, February 21, 2008 2:02 AM by Debashree

Hi Gaurav,

Thanks a million for your article. It was very helpful. Before reading this i had no clue as to how to change the setting.

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker