Click here to Skip to main content
Rate this: bad
good
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
Edited 24-Dec-12 6:20am
ProgramFOX131.6K
v2
Comments
ProgramFOX at 24-Dec-12 11:21am
   
Which programming language do you use?
Luan Mollakuqe at 24-Dec-12 11:23am
   
C#
ProgramFOX at 24-Dec-12 11:24am
   
Thanks.
GeekBond at 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 at 25-Dec-12 4:33am
   
Thank you very much!
GeekBond at 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
0 OriginalGriff 6,045
1 DamithSL 4,611
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 24 Dec 2012
Copyright © CodeProject, 1999-2014
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