Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
QuestionNeed to use Microsoft.Office.Interop namespace Pin
Sri_346413-Nov-07 23:51
Sri_346413-Nov-07 23:51 
AnswerRe: Need to use Microsoft.Office.Interop namespace Pin
Christian Graus14-Nov-07 0:13
protectorChristian Graus14-Nov-07 0:13 
GeneralRe: Need to use Microsoft.Office.Interop namespace Pin
Sri_346414-Nov-07 0:48
Sri_346414-Nov-07 0:48 
JokeRe: Need to use Microsoft.Office.Interop namespace Pin
Vasudevan Deepak Kumar14-Nov-07 1:09
Vasudevan Deepak Kumar14-Nov-07 1:09 
GeneralRe: Need to use Microsoft.Office.Interop namespace Pin
Sri_346414-Nov-07 1:28
Sri_346414-Nov-07 1:28 
QuestionHow to Start Service (Windows Service In CSharp) Pin
Boroumandan13-Nov-07 23:50
Boroumandan13-Nov-07 23:50 
AnswerRe: How to Start Service (Windows Service In CSharp) Pin
Abhijit Jana14-Nov-07 0:15
professionalAbhijit Jana14-Nov-07 0:15 
QuestionFiltering non numeric charactors Pin
Charith Jayasundara13-Nov-07 23:49
Charith Jayasundara13-Nov-07 23:49 
Hi,

I want to filter non numeric characters in one of my text boxes (windows form). I used following code for that.
________________________________________________________________________________________________
if ((e.KeyCode >= Keys.D0 && e.KeyCode <= Keys.D9) ||
(e.KeyCode >= Keys.NumPad0 && e.KeyCode <= Keys.NumPad9) ||
(e.KeyCode == Keys.Back) ||
((e.KeyCode == Keys.Oemcomma || e.KeyCode == Keys.OemPeriod || (e.KeyCode == Keys.Decimal)) &&
(txtNetAssetValue.Text.IndexOf(",") == -1 && txtNetAssetValue.Text.IndexOf(".") == -1)))

________________________________________________________________________________________________

I could filter all the non-numeric characters except "!@#$%^&*()_+" .
Can you tell me the group they belonging?

Thanks!!!Smile | :)

jayasshc

AnswerRe: Filtering non numeric charactors Pin
Christian Graus14-Nov-07 0:14
protectorChristian Graus14-Nov-07 0:14 
QuestionTo define first clicked button’s...., and second clicked button’s ...., to compare. Pin
omegazafer13-Nov-07 23:36
omegazafer13-Nov-07 23:36 
AnswerRe: To define first clicked button’s...., and second clicked button’s ...., to compare. Pin
DharmarajNagarajan13-Nov-07 23:38
DharmarajNagarajan13-Nov-07 23:38 
AnswerRe: To define first clicked button’s...., and second clicked button’s ...., to compare. Pin
Christian Graus13-Nov-07 23:43
protectorChristian Graus13-Nov-07 23:43 
GeneralRe: To define first clicked button’s...., and second clicked button’s ...., to compare. Pin
omegazafer13-Nov-07 23:50
omegazafer13-Nov-07 23:50 
GeneralRe: To define first clicked button’s...., and second clicked button’s ...., to compare. Pin
Christian Graus14-Nov-07 0:15
protectorChristian Graus14-Nov-07 0:15 
GeneralRe: To define first clicked button’s...., and second clicked button’s ...., to compare. Pin
omegazafer14-Nov-07 0:54
omegazafer14-Nov-07 0:54 
Question.net 2.0 datagridview clear a cell Pin
arkiboys13-Nov-07 23:20
arkiboys13-Nov-07 23:20 
AnswerRe: .net 2.0 datagridview clear a cell Pin
Giorgi Dalakishvili14-Nov-07 2:01
mentorGiorgi Dalakishvili14-Nov-07 2:01 
QuestionRegarding Databinding Pin
DharmarajNagarajan13-Nov-07 23:05
DharmarajNagarajan13-Nov-07 23:05 
AnswerRe: Regarding Databinding Pin
N a v a n e e t h13-Nov-07 23:09
N a v a n e e t h13-Nov-07 23:09 
GeneralRe: Regarding Databinding Pin
DharmarajNagarajan13-Nov-07 23:12
DharmarajNagarajan13-Nov-07 23:12 
AnswerRe: Regarding Databinding Pin
Abhijit Jana13-Nov-07 23:10
professionalAbhijit Jana13-Nov-07 23:10 
GeneralRe: Regarding Databinding Pin
DharmarajNagarajan13-Nov-07 23:14
DharmarajNagarajan13-Nov-07 23:14 
Questioncrystal report output errors Pin
ooooooooppppppss13-Nov-07 22:45
ooooooooppppppss13-Nov-07 22:45 
QuestionHow to count the error Pin
Assaf8213-Nov-07 22:40
Assaf8213-Nov-07 22:40 
AnswerRe: How to count the error Pin
Abhijit Jana13-Nov-07 23:05
professionalAbhijit Jana13-Nov-07 23:05 

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.