Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding reading and Writing xmlfile after deployment Pin
N a v a n e e t h1-Jan-09 20:41
N a v a n e e t h1-Jan-09 20:41 
QuestionReading and Writing through XML File Pin
rahuladya1-Jan-09 19:21
rahuladya1-Jan-09 19:21 
QuestionHow to allow textbox to enter only alphabets Pin
TJS4u1-Jan-09 19:06
TJS4u1-Jan-09 19:06 
AnswerRe: How to allow textbox to enter only alphabets Pin
Brij1-Jan-09 19:25
mentorBrij1-Jan-09 19:25 
GeneralRe: How to allow textbox to enter only alphabets Pin
TJS4u1-Jan-09 19:36
TJS4u1-Jan-09 19:36 
GeneralRe: How to allow textbox to enter only alphabets Pin
Brij1-Jan-09 19:40
mentorBrij1-Jan-09 19:40 
AnswerRe: How to allow textbox to enter only alphabets Pin
Luis Alonso Ramos1-Jan-09 19:28
Luis Alonso Ramos1-Jan-09 19:28 
AnswerRe: How to allow textbox to enter only alphabets Pin
DaveyM693-Jan-09 10:25
professionalDaveyM693-Jan-09 10:25 
There's a bit more to this than you may think as you'll need to allow navigation and edit key combinations in your text box so just dropping the characters you don't want isn't enough. Also, you'll need to handle pasting of information to make sure it's valid.

I wrote an article[^] that does something similar - only numbers - but it can easily be adapted. It doesn't handle text that may be placed programatically, but a little checking in OnTextChanged would handle that.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

Questionatoi? Pin
dec821-Jan-09 18:38
dec821-Jan-09 18:38 
AnswerRe: atoi?:Put in Right forum Pin
Brij1-Jan-09 19:01
mentorBrij1-Jan-09 19:01 
AnswerRe: atoi? Pin
Luis Alonso Ramos1-Jan-09 19:30
Luis Alonso Ramos1-Jan-09 19:30 
GeneralRe: atoi? Pin
AORD10-Oct-09 0:53
AORD10-Oct-09 0:53 
GeneralRe: atoi? Pin
Luis Alonso Ramos10-Oct-09 8:24
Luis Alonso Ramos10-Oct-09 8:24 
QuestionApp.Config Text Formatting Issue Pin
sumit2731-Jan-09 18:01
sumit2731-Jan-09 18:01 
AnswerRe: App.Config Text Formatting Issue Pin
Christian Graus1-Jan-09 18:15
protectorChristian Graus1-Jan-09 18:15 
QuestionmyRichTextBox doesn't respond to Undo/Redo functions Pin
raj2313621-Jan-09 17:55
raj2313621-Jan-09 17:55 
QuestionDoes the crystal reports developed in WindowsXP worked in Vista or not? Pin
Rajeshgut1-Jan-09 17:33
Rajeshgut1-Jan-09 17:33 
AnswerRe: Does the crystal reports developed in WindowsXP worked in Vista or not? Pin
Eddy Vluggen2-Jan-09 1:58
professionalEddy Vluggen2-Jan-09 1:58 
Questionreflection, Winform/ASPNET/WPF Pin
devvvy1-Jan-09 17:21
devvvy1-Jan-09 17:21 
AnswerRe: reflection, Winform/ASPNET/WPF Pin
Christian Graus1-Jan-09 18:16
protectorChristian Graus1-Jan-09 18:16 
Questiondisable all process Pin
abu rakan1-Jan-09 12:54
abu rakan1-Jan-09 12:54 
AnswerRe: disable all process Pin
Dave Kreskowiak1-Jan-09 14:03
mveDave Kreskowiak1-Jan-09 14:03 
GeneralRe: disable all process Pin
abu rakan2-Jan-09 1:21
abu rakan2-Jan-09 1:21 
GeneralRe: disable all process [modified] Pin
Eddy Vluggen2-Jan-09 2:02
professionalEddy Vluggen2-Jan-09 2:02 
GeneralRe: disable all process Pin
Dave Kreskowiak2-Jan-09 3:30
mveDave Kreskowiak2-Jan-09 3:30 

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.