Click here to Skip to main content
15,893,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: exporting data to excel Pin
lourensG5-Sep-07 0:16
lourensG5-Sep-07 0:16 
QuestiontxtBox_Leave Pin
Assaf824-Sep-07 22:56
Assaf824-Sep-07 22:56 
AnswerRe: txtBox_Leave Pin
I.explore.code5-Sep-07 0:05
I.explore.code5-Sep-07 0:05 
Questionhow to assign a Shortcut key for an Application ONLY in C#? Pin
pdoy07084-Sep-07 22:21
pdoy07084-Sep-07 22:21 
AnswerRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili4-Sep-07 22:28
mentorGiorgi Dalakishvili4-Sep-07 22:28 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07084-Sep-07 22:34
pdoy07084-Sep-07 22:34 
GeneralRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili4-Sep-07 22:44
mentorGiorgi Dalakishvili4-Sep-07 22:44 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07084-Sep-07 23:20
pdoy07084-Sep-07 23:20 
GeneralRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili4-Sep-07 23:36
mentorGiorgi Dalakishvili4-Sep-07 23:36 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07084-Sep-07 22:59
pdoy07084-Sep-07 22:59 
GeneralRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili4-Sep-07 23:11
mentorGiorgi Dalakishvili4-Sep-07 23:11 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07084-Sep-07 23:53
pdoy07084-Sep-07 23:53 
GeneralRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili4-Sep-07 23:59
mentorGiorgi Dalakishvili4-Sep-07 23:59 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07085-Sep-07 0:26
pdoy07085-Sep-07 0:26 
GeneralRe: Shortcut key for an Application ONLY? Pin
Giorgi Dalakishvili5-Sep-07 0:28
mentorGiorgi Dalakishvili5-Sep-07 0:28 
GeneralRe: Shortcut key for an Application ONLY? Pin
pdoy07085-Sep-07 0:24
pdoy07085-Sep-07 0:24 
AnswerRe: how to assign a Shortcut key for an Application ONLY in C#? Pin
Luc Pattyn5-Sep-07 0:09
sitebuilderLuc Pattyn5-Sep-07 0:09 
Hi,

for printable characters (letters, digits, punctuation) you should use the KeyPress event;
its event arg provides a KeyChar property which is a char, so don't compare it to
(char)Keys.A instead compare it to 'a' or 'A'.

special characters (escape, enter, ...) don't fire the KeyPress event; you should use
the KeyDown (possibly KeyUp) event for these; its event arg provides a KeyCode property
which is a Keys, so that one you can compare to Keys.Escape and others.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


AnswerRe: how to assign a Shortcut key for an Application ONLY in C#? Pin
Dan Neely5-Sep-07 5:45
Dan Neely5-Sep-07 5:45 
Questiondisabling hotkeys Pin
tahir_makhdoom4-Sep-07 22:04
tahir_makhdoom4-Sep-07 22:04 
AnswerRe: disabling hotkeys Pin
Giorgi Dalakishvili4-Sep-07 22:14
mentorGiorgi Dalakishvili4-Sep-07 22:14 
GeneralRe: disabling hotkeys Pin
Vasudevan Deepak Kumar4-Sep-07 22:23
Vasudevan Deepak Kumar4-Sep-07 22:23 
AnswerRe: disabling hotkeys Pin
Sathesh Sakthivel5-Sep-07 0:02
Sathesh Sakthivel5-Sep-07 0:02 
Questioncan i use a Forum which is developed in 1.1 Framework. Pin
Kumar Arun4-Sep-07 22:02
Kumar Arun4-Sep-07 22:02 
AnswerRe: can i use a Forum which is developed in 1.1 Framework. Pin
Dave Kreskowiak5-Sep-07 5:57
mveDave Kreskowiak5-Sep-07 5:57 
Questionstartmenu programs Pin
tahir_makhdoom4-Sep-07 21:58
tahir_makhdoom4-Sep-07 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.