Hot keys
In the project I am working on ,I have one exe running 24*7 on Kiosk and its size is FullScreen. I need to start one exe (login application)as soon as I press Alt+Ctrl+A key on keyboard.How can I do it?Any help please.It's urgent.
Thank you.
Krishnaraj LPosted Jul 4, 2006, 6:22 AM
Add event handler for Keydown for your form and add the following lines
private
void Form1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e){
if ( e.Alt && e.Control && e.KeyCode == Keys.A ){
MessageBox.Show ("Ctrl + Alt + A - Pressed");
}
}
It should work.
Regards,
Krishnaraj