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

C#

 
Generalimage in a contextmenu Pin
Robske11-Apr-05 12:01
Robske11-Apr-05 12:01 
GeneralRe: image in a contextmenu Pin
ChesterPoindexter11-Apr-05 12:29
professionalChesterPoindexter11-Apr-05 12:29 
GeneralInstaller launch condition question Pin
Asad Hussain11-Apr-05 9:05
Asad Hussain11-Apr-05 9:05 
GeneralArraylist cast Pin
Member 87436711-Apr-05 8:03
Member 87436711-Apr-05 8:03 
GeneralRe: Arraylist cast Pin
Darryl Borden11-Apr-05 9:43
Darryl Borden11-Apr-05 9:43 
GeneralLocation for PDB file Pin
benjymous11-Apr-05 5:43
benjymous11-Apr-05 5:43 
GeneralRe: Location for PDB file Pin
Dave Kreskowiak11-Apr-05 6:57
mveDave Kreskowiak11-Apr-05 6:57 
GeneralGetting upper special character of a key from KeyPressEventArgs.KeyChar Pin
Rama Sharma11-Apr-05 3:39
Rama Sharma11-Apr-05 3:39 
In a particular situation, I have a KeyPressEventArgs.KeyChar property from which using the code I am getting value of selected Ascii character. I am able to show all lower ascii characters on the keyboard. If I want to show upper-case (or upper) characters for these keys, I am able to use the ToUpper() method to get the upper characters on the alphbatic keys (i.e., from "A" to "Z"). However, when I try to get the upper keys on the numeric keys, I am not able to use ToUpper() method.

The problem is that in the particular program on which I am working, I am getting only partial ascii values (i.e., lower keys only and not the upper keys). Due to some peculiar reasons, I have to live with this situation. I want to get the upper keys on the keyboard by checking the status of the "Shift" key.

Thus, how can I get the upper keys of the keyboard (for numeric keys) such as #, ^, &, *, $, etc. by programatically combining with Shift key status the the lower key values such as 5, 6, 7, 8, etc.? Is there any method equivalent to ToUpper() which can be used to convert, say 4 to $ (i.e., lower to upper key)?


GeneralRe: Getting upper special character of a key from KeyPressEventArgs.KeyChar Pin
leppie11-Apr-05 3:43
leppie11-Apr-05 3:43 
GeneralRe: Getting upper special character of a key from KeyPressEventArgs.KeyChar Pin
Rama Sharma11-Apr-05 4:01
Rama Sharma11-Apr-05 4:01 
GeneralRe: Getting upper special character of a key from KeyPressEventArgs.KeyChar Pin
Dave Kreskowiak11-Apr-05 4:27
mveDave Kreskowiak11-Apr-05 4:27 
GeneralStarting services programatically Pin
Esmo200011-Apr-05 3:37
Esmo200011-Apr-05 3:37 
GeneralRe: Starting services programatically Pin
leppie11-Apr-05 3:49
leppie11-Apr-05 3:49 
GeneralRe: Starting services programatically Pin
Esmo200011-Apr-05 4:09
Esmo200011-Apr-05 4:09 
GeneralRe: Starting services programatically Pin
hooray11-Apr-05 4:13
hooray11-Apr-05 4:13 
GeneralRe: Starting services programatically Pin
Dave Kreskowiak11-Apr-05 4:19
mveDave Kreskowiak11-Apr-05 4:19 
GeneralUsing the FillSchema() method with the Data Access Application Block Pin
Andretux11-Apr-05 2:40
Andretux11-Apr-05 2:40 
GeneralChange system locale Pin
Mahesh Varma11-Apr-05 1:49
Mahesh Varma11-Apr-05 1:49 
GeneralRe: Change system locale Pin
hooray11-Apr-05 2:21
hooray11-Apr-05 2:21 
GeneralRe: Change system locale Pin
elizas16-Feb-10 22:46
elizas16-Feb-10 22:46 
GeneralAutocad + C# Pin
Newbie_Toy11-Apr-05 0:54
Newbie_Toy11-Apr-05 0:54 
GeneralRe: Autocad + C# Pin
leppie11-Apr-05 1:36
leppie11-Apr-05 1:36 
GeneralReading Data from an Excel File Using C#! Help please! Pin
AfzalHassen11-Apr-05 0:50
AfzalHassen11-Apr-05 0:50 
Generalcombobox items Pin
chindiwo10-Apr-05 23:45
chindiwo10-Apr-05 23:45 
GeneralRe: combobox items Pin
mav.northwind11-Apr-05 0:49
mav.northwind11-Apr-05 0:49 

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.