Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Visual Studio IDE - Open class member in Object Browser

Posted on 2013-06-18
4
493 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 63

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 63

Expert Comment

by:Fernando Soto
ID: 39272161
Hi jdana;

Not a problem, glad to help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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