Click here to Skip to main content
16,006,001 members
Home / Discussions / C#
   

C#

 
QuestionPower Point Show in WebBrowser Control ? can it be done ? Pin
Ahmad_kaau24-Jan-07 1:07
Ahmad_kaau24-Jan-07 1:07 
AnswerRe: Power Point Show in WebBrowser Control ? can it be done ? Pin
Ahmad_kaau24-Jan-07 5:09
Ahmad_kaau24-Jan-07 5:09 
QuestionValidate Textbox only to accept numeric Pin
aaraaayen24-Jan-07 0:34
aaraaayen24-Jan-07 0:34 
AnswerRe: Validate Textbox only to accept numeric Pin
Ed.Poore24-Jan-07 0:48
Ed.Poore24-Jan-07 0:48 
GeneralRe: Validate Textbox only to accept numeric Pin
quiteSmart24-Jan-07 1:02
quiteSmart24-Jan-07 1:02 
GeneralRe: Validate Textbox only to accept numeric Pin
Ed.Poore24-Jan-07 2:20
Ed.Poore24-Jan-07 2:20 
AnswerRe: Validate Textbox only to accept numeric Pin
Martin#24-Jan-07 1:02
Martin#24-Jan-07 1:02 
AnswerRe: Validate Textbox only to accept numeric Pin
David Domingues24-Jan-07 1:27
David Domingues24-Jan-07 1:27 
to complete with a bit of code, what has been already so nicely said:

void TxtRegisteringKeyKeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
  char[] myNum = new char[11] { '0' , '1', '2', '3', '4', '5', '6', '7', '8', '9', '\b' };
  bool blnNumFnd = false;
  foreach (char c in myNum)
  {
     if (e.KeyChar == c)
        blnNumFnd = true;	
  } 
  if (!blnNumFnd)
      e.KeyChar = '\0';
}


Contact me! Please feel free to visit my site

AnswerRe: Validate Textbox only to accept numeric Pin
engsrini24-Jan-07 3:39
engsrini24-Jan-07 3:39 
Questionregular expression Pin
shweta.shrivastava24-Jan-07 0:31
shweta.shrivastava24-Jan-07 0:31 
QuestionNETtoCOM Pin
MozhdehQeraati24-Jan-07 0:15
MozhdehQeraati24-Jan-07 0:15 
AnswerRe: NETtoCOM Pin
Ed.Poore24-Jan-07 0:50
Ed.Poore24-Jan-07 0:50 
Questionmenu strip....... Pin
quiteSmart23-Jan-07 23:53
quiteSmart23-Jan-07 23:53 
AnswerRe: menu strip....... Pin
GunaChinna24-Jan-07 0:36
GunaChinna24-Jan-07 0:36 
GeneralRe: menu strip....... Pin
quiteSmart24-Jan-07 0:43
quiteSmart24-Jan-07 0:43 
GeneralRe: menu strip....... Pin
quiteSmart24-Jan-07 1:42
quiteSmart24-Jan-07 1:42 
AnswerRe: menu strip....... Pin
samtam24-Jan-07 1:15
samtam24-Jan-07 1:15 
GeneralRe: menu strip....... Pin
quiteSmart24-Jan-07 1:52
quiteSmart24-Jan-07 1:52 
QuestionRemove Fixed Column from dataGridview1 Pin
M Riaz Bashir23-Jan-07 23:30
M Riaz Bashir23-Jan-07 23:30 
Questionhow to manage onmouseup event on IHTLDocument2? Pin
lulaleila23-Jan-07 22:53
lulaleila23-Jan-07 22:53 
QuestionPassing parameter to Property. Pin
M LN Rao23-Jan-07 22:44
M LN Rao23-Jan-07 22:44 
AnswerRe: Passing parameter to Property. Pin
jdkulkarni23-Jan-07 23:00
jdkulkarni23-Jan-07 23:00 
AnswerRe: Passing parameter to Property. Pin
Martin#23-Jan-07 23:18
Martin#23-Jan-07 23:18 
AnswerRe: Passing parameter to Property. Pin
Colin Angus Mackay23-Jan-07 23:30
Colin Angus Mackay23-Jan-07 23:30 
GeneralRe: Passing parameter to Property. Pin
Martin#23-Jan-07 23:49
Martin#23-Jan-07 23: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.