Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
Questioncoding for server controls Pin
samta khobragade5-Dec-08 13:18
samta khobragade5-Dec-08 13:18 
AnswerRe: coding for server controls Pin
Christian Graus5-Dec-08 14:57
protectorChristian Graus5-Dec-08 14:57 
QuestionRuntime construction of a constructed type [solved] [modified] Pin
PIEBALDconsult5-Dec-08 13:03
mvePIEBALDconsult5-Dec-08 13:03 
AnswerRe: Runtime construction of a constructed type Pin
Luc Pattyn5-Dec-08 18:43
sitebuilderLuc Pattyn5-Dec-08 18:43 
GeneralRe: Runtime construction of a constructed type Pin
PIEBALDconsult5-Dec-08 18:48
mvePIEBALDconsult5-Dec-08 18:48 
QuestionApply dataset changes to excel file Pin
emilio_ts5-Dec-08 12:20
emilio_ts5-Dec-08 12:20 
AnswerRe: Apply dataset changes to excel file Pin
Christian Graus5-Dec-08 15:00
protectorChristian Graus5-Dec-08 15:00 
QuestionTextBox Overwrite Text Pin
asquaredtech5-Dec-08 11:30
asquaredtech5-Dec-08 11:30 
I am trying to run a status counter in a text box that overwrites itself. Ex. "Sending Line 200 of 1249". However I do not want to erase everything in the text box because it is the console window, so I need it to only overwrite the one line. I have tried the text.Remove method without success. Below is what I have been trying but is not working for some reason even thought all lengths are reporting correctly, the text.remove command does not work as well as the text.undo. Are there any recommendations how to do this?

int lastLength = this.textBoxConsole.Text.Length;
int currentLength = this.textBoxConsole.Text.Length;
while (SerialBootload.HexFile.downloadCompleted == false)
{
    this.textBoxConsole.Text.Remove((lastLength - 1), (currentLength - lastLength));
    //this.textBoxConsole.Text.Remove(lastLength - 1);
    this.textBoxConsole.AppendText(SerialBootloadMethods.SerialBootload.SendProgram(1, 2));
    currentLength = this.textBoxConsole.Text.Length;
}

AnswerRe: TextBox Overwrite Text Pin
Christian Graus5-Dec-08 14:59
protectorChristian Graus5-Dec-08 14:59 
GeneralRe: TextBox Overwrite Text Pin
asquaredtech8-Dec-08 6:01
asquaredtech8-Dec-08 6:01 
GeneralPlease give me the source code for REMINDER in ASP.NET with C# Pin
shobhatai5-Dec-08 9:02
shobhatai5-Dec-08 9:02 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# PinPopular
Pete O'Hanlon5-Dec-08 9:08
mvePete O'Hanlon5-Dec-08 9:08 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# Pin
Paul Conrad5-Dec-08 10:44
professionalPaul Conrad5-Dec-08 10:44 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# PinPopular
Kristian Sixhøj5-Dec-08 9:26
Kristian Sixhøj5-Dec-08 9:26 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# Pin
Paul Conrad5-Dec-08 10:45
professionalPaul Conrad5-Dec-08 10:45 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# PinPopular
Christian Graus5-Dec-08 10:01
protectorChristian Graus5-Dec-08 10:01 
GeneralRe: Please give me the source code for REMINDER in ASP.NET with C# Pin
Paul Conrad5-Dec-08 10:45
professionalPaul Conrad5-Dec-08 10:45 
QuestionHow to attach and detach file from a filestream Pin
s196675m5-Dec-08 8:47
s196675m5-Dec-08 8:47 
GeneralRe: How to attach and detach file from a filestream Pin
Luc Pattyn5-Dec-08 9:27
sitebuilderLuc Pattyn5-Dec-08 9:27 
QuestionCopy Files and Maintain Directory Structure Pin
Michael Fritzius5-Dec-08 8:33
professionalMichael Fritzius5-Dec-08 8:33 
GeneralRe: Copy Files and Maintain Directory Structure Pin
Luc Pattyn5-Dec-08 9:07
sitebuilderLuc Pattyn5-Dec-08 9:07 
GeneralRe: Copy Files and Maintain Directory Structure Pin
Michael Fritzius5-Dec-08 9:23
professionalMichael Fritzius5-Dec-08 9:23 
QuestionDeploying MySQL as backend for C# Pin
bigphildogg865-Dec-08 7:45
bigphildogg865-Dec-08 7:45 
AnswerRe: Deploying MySQL as backend for C# Pin
Adam Maras5-Dec-08 8:28
Adam Maras5-Dec-08 8:28 
AnswerRe: Deploying MySQL as backend for C# Pin
Wendelius5-Dec-08 8:29
mentorWendelius5-Dec-08 8:29 

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.