473,396 Members | 1,849 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,396 software developers and data experts.

Shortcut Key Question

Ian
Hi

In Visual Basic 6 when you click on a variable of a procedure name you can
go <Ctrl + F2> And it will take you to the Declaration of the variable or
Procedure. Then <Ctrl + Shift + F2> take you back to where you came from.

In C# if you right click there is an option <Go to definition> (I think it
is called).

What are the short cuts in C# for what I used to do in VB.

Thanks,

Ian
Nov 16 '05 #1
4 6661
Hi,
<F12> takes you to declaration
<shift + F12> should take you to the first reference

regards,
Carlos
"Ian" <ia*@NoWhere.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

In Visual Basic 6 when you click on a variable of a procedure name you can
go <Ctrl + F2> And it will take you to the Declaration of the variable or
Procedure. Then <Ctrl + Shift + F2> take you back to where you came from.

In C# if you right click there is an option <Go to definition> (I think it
is called).

What are the short cuts in C# for what I used to do in VB.

Thanks,

Ian

Nov 16 '05 #2
F12 to go to the definition.

Ctrl + - to go back to the previous cursor postion.

Hope that helps.

"Ian" <ia*@NoWhere.com> wrote in message
news:#H**************@TK2MSFTNGP10.phx.gbl...
Hi

In Visual Basic 6 when you click on a variable of a procedure name you can
go <Ctrl + F2> And it will take you to the Declaration of the variable or
Procedure. Then <Ctrl + Shift + F2> take you back to where you came from.

In C# if you right click there is an option <Go to definition> (I think it
is called).

What are the short cuts in C# for what I used to do in VB.

Thanks,

Ian

Nov 16 '05 #3
Ian
Thanks To both of you

"Ian" <ia*@NoWhere.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

In Visual Basic 6 when you click on a variable of a procedure name you can
go <Ctrl + F2> And it will take you to the Declaration of the variable or
Procedure. Then <Ctrl + Shift + F2> take you back to where you came from.

In C# if you right click there is an option <Go to definition> (I think it
is called).

What are the short cuts in C# for what I used to do in VB.

Thanks,

Ian

Nov 16 '05 #4
The shortcuts for those (and every other command) can be seen (and changed)
by going to:

Tools/Customize/Commands tab/Keyboard...
Edit.GotoDefinition
Edit.GotoReference

--
Truth,
James Curran
[erstwhile VC++ MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

"Ian" <ia*@NoWhere.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

In Visual Basic 6 when you click on a variable of a procedure name you can
go <Ctrl + F2> And it will take you to the Declaration of the variable or
Procedure. Then <Ctrl + Shift + F2> take you back to where you came from.

In C# if you right click there is an option <Go to definition> (I think it
is called).

What are the short cuts in C# for what I used to do in VB.

Thanks,

Ian

Nov 16 '05 #5

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

Similar topics

27
by: aa | last post by:
Thought this question might be out of this NG's scope, there are always knowledgable people who might hava an answer. A hyperlink to a shortcut to a file returnes an empty screen, and the source...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
2
by: newbie_csharp | last post by:
Hi, is there anyway to set AltN in shortcut property? thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
0
by: Newbie Coder | last post by:
A few years ago I created a shortcut class using the correct functions/COM interfaces(IShellLinkA,/IShellLinkW/GUID's...) I use this class to create shortcuts the correct way not streamwriter but...
2
by: Aranis | last post by:
Would anyone know how to use a keyboard shortcut so at the end of a method syntax I can use that shortcut to create the method's pair of { } brackets ? Thank you much, Aranis
4
by: Steve | last post by:
Hi All I have a windows forms application written in VB.net 2005 which places a shortcut in All users desktop during installation, using MS setup and deployment Occasionally when a customer...
10
by: Matthew Wells | last post by:
I'm trying to make a shortcut that will open an mdb in the same folder as the shortcut - regardless of where the file/shortcut may be. In other words, I want to be able to copy and paste the two...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.