Click here to Skip to main content
12,629,886 members (31,554 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Binding
Hi!
So, I'm kinda new to programming, but I want to start out with creating a program that can bind my password, email etc so i just can press it and it enters my email.

Like this:

F1 + 'xxx@hotmail.com'

And when i press F1 it will type my 'xxx@hotmail.com'

Regards

[Edit]Code block formatting removed[/Edit]
Posted 24-Dec-12 6:19am
Updated 24-Dec-12 6:20am
ProgramFOX189.3K
v2
Comments
ProgramFOX 24-Dec-12 11:21am
   
Which programming language do you use?
Luan Mollakuqe 24-Dec-12 11:23am
   
C#
ProgramFOX 24-Dec-12 11:24am
   
Thanks.
GeekBond 24-Dec-12 12:29pm
   
Take a look at http://www.codeproject.com/Articles/20988/Clipboard-little-helper

and http://www.codeproject.com/Articles/442285/Global-Shortcuts-in-WinForms-and-WPF
Luan Mollakuqe 25-Dec-12 4:33am
   
Thank you very much!
GeekBond 25-Dec-12 8:26am
   
Happy to help.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Hi!

You should use the SendKeys. It simulates the keyboard presses.

SendKeys.Send("xxx@hotmail.com");

The only problem is, how will you get information if F1 key is pressed. If your aplication is not focused that could not work. You should try, I'm not sure about this.

Regards!
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 24 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100