Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
QuestionHow to get a particular number of bytes or a null terminated string from serial port? [modified] Pin
CelestialCoder9-Aug-08 4:42
CelestialCoder9-Aug-08 4:42 
AnswerRe: How to get a particular number of bytes or a null terminated string from serial port? Pin
Searril9-Aug-08 5:00
Searril9-Aug-08 5:00 
GeneralRe: How to get a particular number of bytes or a null terminated string from serial port? Pin
CelestialCoder9-Aug-08 5:06
CelestialCoder9-Aug-08 5:06 
GeneralRe: How to get a particular number of bytes or a null terminated string from serial port? Pin
CelestialCoder12-Aug-08 1:56
CelestialCoder12-Aug-08 1:56 
GeneralRe: How to get a particular number of bytes or a null terminated string from serial port? Pin
CelestialCoder13-Aug-08 17:36
CelestialCoder13-Aug-08 17:36 
QuestionC# windows application deployment error Pin
vishnukamath9-Aug-08 3:40
vishnukamath9-Aug-08 3:40 
QuestionCounting number of characters Pin
Zafar Sultan9-Aug-08 3:35
Zafar Sultan9-Aug-08 3:35 
AnswerRe: Counting number of characters Pin
User 66589-Aug-08 4:43
User 66589-Aug-08 4:43 
Set the MaxLength property of your textbox to some value (like 200), then in the TextChanged event of the textbox you can write some information into a label if you like:

private void textBox1_TextChanged(object sender, EventArgs e)
{
	label1.Text = string.Format("You use {0} out of {1} characters", textBox1.Text.Length, textBox1.MaxLength);
}


regards

modified 12-Sep-18 21:01pm.

QuestionMobile programming Pin
ali zaidi9-Aug-08 3:25
ali zaidi9-Aug-08 3:25 
AnswerRe: Mobile programming Pin
mr.mohsen9-Aug-08 6:09
mr.mohsen9-Aug-08 6:09 
QuestionOnchange event is not triggering events on text elements in c# Pin
Nupur2069-Aug-08 3:03
Nupur2069-Aug-08 3:03 
QuestionHow can I copy a block of memory? Pin
CopperCircle9-Aug-08 2:22
CopperCircle9-Aug-08 2:22 
AnswerRe: How can I copy a block of memory? Pin
User 66589-Aug-08 2:29
User 66589-Aug-08 2:29 
GeneralRe: How can I copy a block of memory? Pin
CopperCircle9-Aug-08 2:39
CopperCircle9-Aug-08 2:39 
GeneralRe: How can I copy a block of memory? Pin
Guffa9-Aug-08 7:53
Guffa9-Aug-08 7:53 
GeneralRe: How can I copy a block of memory? Pin
CopperCircle9-Aug-08 11:47
CopperCircle9-Aug-08 11:47 
AnswerRe: How can I copy a block of memory? Pin
Guffa9-Aug-08 22:17
Guffa9-Aug-08 22:17 
GeneralRe: How can I copy a block of memory? Pin
CopperCircle10-Aug-08 0:21
CopperCircle10-Aug-08 0:21 
AnswerRe: How can I copy a block of memory? Pin
#realJSOP10-Aug-08 1:19
mve#realJSOP10-Aug-08 1:19 
AnswerRe: How can I copy a block of memory? Pin
CopperCircle10-Aug-08 2:32
CopperCircle10-Aug-08 2:32 
Questionsend mail using C# Pin
sobhaniir9-Aug-08 0:41
sobhaniir9-Aug-08 0:41 
AnswerRe: send mail using C# PinPopular
Guffa9-Aug-08 0:50
Guffa9-Aug-08 0:50 
RantRe: send mail using C# Pin
User 66589-Aug-08 1:18
User 66589-Aug-08 1:18 
GeneralRe: send mail using C# Pin
Paul Conrad9-Aug-08 6:15
professionalPaul Conrad9-Aug-08 6:15 
GeneralRe: send mail using C# Pin
User 66589-Aug-08 8:24
User 66589-Aug-08 8:24 

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.