473,383 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

IDE question (for a VB6 convert)

I'm a former VB6 programmer, working now with VB.NET 2003. I decided it's
time for me to start getting used to the Visual Studio .NET key shortcuts
(instead of the VB6 ones, which yes, I know I can still use via the
profile).
Unfortunately, I've been unable to find the hotkey for one thing: "Go to
Definition".
In VB6, I was able to click on a function call, hit Shift-F2, and it'd take
me right to that function (if I had the source up for it and references were
set up and all).
Now, with VB.NET, the only way I can do that is by right-clicking, mousing
down to "Go To Definition", and clicking again. I'd love to have a keyboard
shortcut for that again, but I'm at a loss to figure out what shortcut that
is.
All I know is that it's not still Shift-F2.
Does anyone know if there's a hotkey for that?
Thanks!
Nov 21 '05 #1
2 1421
Hi Scott. In the future you might try F1 for help and then type in "go to
definition"

That's what I did. Here is the answer:
Navigating to code elements using Go To Definition
Use the command Go To Definition to immediately navigate to the parent
procedure for a method call or variable definition. For example, if you have
a procedure called MyProc() and later make a call to MyProc(), you could
navigate directly to the procedure using Go To Definition.

To go to a procedure or variable definition

1.. Select the variable or procedure call.
2.. Press F12.
You are taken to the procedure or variable definition. If you want to return
to the variable or procedure call, press the Navigate Backward button.

If the definition lies outside your project, the item displays in the Object
Browser.

================================================== ==

"Scott M. Lyon" <sc******************@rapistan.BLUE.com> wrote in message
news:e5**************@tk2msftngp13.phx.gbl...
I'm a former VB6 programmer, working now with VB.NET 2003. I decided it's
time for me to start getting used to the Visual Studio .NET key shortcuts
(instead of the VB6 ones, which yes, I know I can still use via the
profile).
Unfortunately, I've been unable to find the hotkey for one thing: "Go to
Definition".
In VB6, I was able to click on a function call, hit Shift-F2, and it'd
take me right to that function (if I had the source up for it and
references were set up and all).
Now, with VB.NET, the only way I can do that is by right-clicking, mousing
down to "Go To Definition", and clicking again. I'd love to have a
keyboard shortcut for that again, but I'm at a loss to figure out what
shortcut that is.
All I know is that it's not still Shift-F2.
Does anyone know if there's a hotkey for that?
Thanks!

Nov 21 '05 #2
Scott,

"Scott M. Lyon" <sc******************@rapistan.BLUE.com> schrieb:
Now, with VB.NET, the only way I can do that is by right-clicking, mousing
down to "Go To Definition", and clicking again. I'd love to have a
keyboard shortcut for that again, but I'm at a loss to figure out what
shortcut that is.


"Tools" -> "Options" -> "Environment" -> "Keyboard" -> ...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Lauren Quantrell | last post by:
I have a stored procedure using Convert where the exact same Convert string works in the SELECT portion of the procedure but fails in the WHERE portion. The entire SP is listed below....
4
by: Eric Lilja | last post by:
Hello, I've made a templated class Option (a child of the abstract base class OptionBase) that stores an option name (in the form someoption=) and the value belonging to that option. The value is...
0
by: kathy | last post by:
I try to call a DLL function in my C++ application using VC++.NET. The following code failed: public: static int MyAdd1(int i,int j); static int MyAdd2(MyData d); private:
6
by: MrKrich | last post by:
I want to convert Hexadecimal or normal integer to Binary. Does VB.Net has function to do that? I only found Hex function that convert normal integer to Hexadecimal.
7
by: jimi_xyz | last post by:
I am kind of new to C sharp; I have a quick question I have multiple text boxes 12 of them to be exact. What I want to do is fill them with values that are in a array of integers. The way I am...
13
by: Jim Armstrong | last post by:
Hi all - This problem has been driving me crazy, and I'm hoping the answer is something stupid I am neglecting to see.... The procedure posted below is part of an Access/SQL database I have...
4
by: simonZ | last post by:
Why this don't work: Boolean test; String testValue; testValue="0"; test=System.Convert.ToBoolean(testValue); How can I convert string to boolean?
4
by: Edwin Knoppert | last post by:
In my code i use the text from a textbox and convert it to a double value. I was using Convert.ToDouble() but i'm used to convert comma to dot. This way i can assure the text is correct. However...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
6
by: Ken Fine | last post by:
This is a basic question. What is the difference between casting and using the Convert.ToXXX methods, from the standpoint of the compiler, in terms of performance, and in other ways? e.g. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.