Solved

Visual Studio IDE - Open class member in Object Browser

Posted on 2013-06-18
4
483 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi jdana;

Not a problem, glad to help.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

15 Experts available now in Live!

Get 1:1 Help Now