Solved

Visual Studio IDE - Open class member in Object Browser

Posted on 2013-06-18
4
485 Views
Last Modified: 2013-06-24
In the VBA IDE, selecting a standard keyword (ex. MsgBox) and selecting View / Definition takes you the Object Browser for that keyword. In other words, the VBA IDE takes it's best crack at finding the keyword and presenting it in the Object Browser. (Usually, it does a good job.)

In the Visual Studio IDE, selecting a standard keyword (ex. MessageBox) and selecting View / Definition doesn't take you to the Object Browser, instead it takes you to the code where the keyword is defined. This is often useful, but it would be nice if there was a way to instruct Visual Studio to open the Object Browser and to take a crack at finding the selected keyword in object browser. Is this possible?
0
Comment
Question by:jdana
  • 2
4 Comments
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 200 total points
ID: 39256984
Hi;

Using View / Definition brings you to the location within your project where you defined the variable or function so you do not go crazy looking for it. If you want the documentation for a keyword, highlight the keyword and then press PF1. Depending on how you did the initial install of Visual Studio the internal documentation will come up if you loaded it and if not the default internet browser will open up and go to the documentation on the web.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 100 total points
ID: 39271603
If I view definition on "string", VS2010 takes me to the decompiled code of string class so it goes a step further than object browser.
0
 

Author Closing Comment

by:jdana
ID: 39271959
FernandoSoto,

The "F1" pages are pretty good. (I've made a point of using them regularly.)

Thanks!

J
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 39272161
Hi jdana;

Not a problem, glad to help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now