Vb.net name shortcut


Is there a way in vb.net to select a textbox, do a keyboard shorcut and the textbox name is automatically copied to the clipboard.

Currently I have to always first click on the textbox, open the properties box, scroll to the (name) field, click the field then do Ctrl+C in order to copy the textbox name to the clipboard,

is there a quicker way to do this?

Thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you can try to do under Tools: Customize: Commands and see if you can create this work flow. Go to keyboard and use new short cut: press short cut keys if you can get workflow correctly working.
in looking at my cheat sheet there are not shortcut keys to an item name :(

here is the complete list of shortcuts for 2010- 2015

Sorry for the bad news :(
David Johnson, CD, MVPOwnerCommented:
What are you trying to do? What are you doing once you put the textbox name into the clipboard?
FCapoAuthor Commented:

I need the codeName of the textbox I set because in the code of the form I'm referring to it, I have a lot of text boxes on the form. In the code I have functions that need the textbox names.

Once they're in the clipboard I paste the name in the code, such as this :
anVendant.Text = Math.Round(Val(anCoutant.Text) + CDbl(anCoutant.Text) * CDbl(soustraitantsPourcent.Text / 100), 5)
Jacques Bourgeois (James Burger)PresidentCommented:
There is not automatic way of doing that built into Visual Studio.

You could create a Visual Studio addin, a dll that integrates in Visual Studio to add custom features, but this is often a pain, you can break other functions of Visual Studio if you do not do it properly, and it has been my experience in the past that addins might stop to work from one version of Visual Studio to another.

The way I work with what you are doing is to make IntelliSense help me.

In the code window, type the first few letters of your control name at the beginning of an empty line. Once it is selected in the dropdown, hit, in sequence, Tab, Shift-Home, Ctrl-X.

It's less work than having to go through the property box.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.