Click here to Skip to main content
15,880,405 members
Home / Discussions / C#
   

C#

 
QuestionPrint dialog as e.g. in notepad (WinXP, IE) Pin
Wizard_0119-Apr-06 3:53
Wizard_0119-Apr-06 3:53 
AnswerRe: Print dialog as e.g. in notepad (WinXP, IE) Pin
Ed.Poore19-Apr-06 9:15
Ed.Poore19-Apr-06 9:15 
GeneralRe: Print dialog as e.g. in notepad (WinXP, IE) Pin
Wizard_0119-Apr-06 9:22
Wizard_0119-Apr-06 9:22 
GeneralRe: Print dialog as e.g. in notepad (WinXP, IE) Pin
Ed.Poore19-Apr-06 9:27
Ed.Poore19-Apr-06 9:27 
QuestionC# Windows app to Web app Pin
StrayGrey19-Apr-06 3:51
StrayGrey19-Apr-06 3:51 
AnswerRe: C# Windows app to Web app Pin
Robert Rohde19-Apr-06 5:09
Robert Rohde19-Apr-06 5:09 
QuestionFormating text in textBox Pin
conrado719-Apr-06 3:41
conrado719-Apr-06 3:41 
AnswerRe: Formating text in textBox Pin
MCSD-Gandalf19-Apr-06 5:35
MCSD-Gandalf19-Apr-06 5:35 
Try replacing your KeyDown code with:

private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
int i = this.textBox1.SelectionStart;

if (i < this.textBox1.TextLength)
{
this.textBox1.SelectAll();
}
}

When I did this, I had a value in the textbox, keyed a value, and it replaced everything in the text box. When I keyed values at the end, it just added it on. I think that's what you wanted.
GeneralRe: Formating text in textBox Pin
conrado719-Apr-06 10:58
conrado719-Apr-06 10:58 
AnswerRe: Formating text in textBox Pin
The Nemesis19-Apr-06 20:25
The Nemesis19-Apr-06 20:25 
QuestionSetDataBinding For DGV !!! Pin
mrkeivan19-Apr-06 3:36
mrkeivan19-Apr-06 3:36 
AnswerRe: SetDataBinding For DGV !!! Pin
Office Lineman19-Apr-06 8:46
Office Lineman19-Apr-06 8:46 
QuestionHow to Improve Win From's Graphics !! Pin
mrkeivan19-Apr-06 3:21
mrkeivan19-Apr-06 3:21 
AnswerRe: How to Improve Win From's Graphics !! Pin
LongRange.Shooter19-Apr-06 3:35
LongRange.Shooter19-Apr-06 3:35 
GeneralRe: How to Improve Win From's Graphics !! Pin
mrkeivan19-Apr-06 3:39
mrkeivan19-Apr-06 3:39 
GeneralRe: How to Improve Win From's Graphics !! Pin
LongRange.Shooter19-Apr-06 3:52
LongRange.Shooter19-Apr-06 3:52 
AnswerRe: How to Improve Win From's Graphics !! Pin
Robert Rohde19-Apr-06 4:48
Robert Rohde19-Apr-06 4:48 
Questiondataset problem Pin
Khepry19-Apr-06 3:17
Khepry19-Apr-06 3:17 
AnswerRe: dataset problem Pin
LongRange.Shooter19-Apr-06 3:30
LongRange.Shooter19-Apr-06 3:30 
Questionpopup menu Pin
vatzcar19-Apr-06 3:11
vatzcar19-Apr-06 3:11 
AnswerRe: popup menu Pin
LongRange.Shooter19-Apr-06 3:26
LongRange.Shooter19-Apr-06 3:26 
QuestionEditing an XML node in C# Pin
AnneThorne19-Apr-06 2:48
AnneThorne19-Apr-06 2:48 
AnswerRe: Editing an XML node in C# Pin
LongRange.Shooter19-Apr-06 3:19
LongRange.Shooter19-Apr-06 3:19 
AnswerRe: Editing an XML node in C# Pin
conrado719-Apr-06 3:32
conrado719-Apr-06 3:32 
QuestionBluetooth in C# Pin
hschutte19-Apr-06 2:21
hschutte19-Apr-06 2:21 

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.