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

C#

 
GeneralOMG Pin
Luc Pattyn9-Jan-09 11:40
sitebuilderLuc Pattyn9-Jan-09 11:40 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 12:22
Henry Minute9-Jan-09 12:22 
GeneralRe: Text.Length Command Pin
Colin Angus Mackay9-Jan-09 13:44
Colin Angus Mackay9-Jan-09 13:44 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:13
asquaredtech9-Jan-09 19:13 
GeneralRe: Text.Length Command Pin
Guffa10-Jan-09 0:52
Guffa10-Jan-09 0:52 
AnswerRe: Text.Length Command Pin
Guffa9-Jan-09 17:34
Guffa9-Jan-09 17:34 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:20
asquaredtech9-Jan-09 19:20 
GeneralRe: Text.Length Command Pin
Guffa9-Jan-09 20:10
Guffa9-Jan-09 20:10 
asquaredtech wrote:
The code in the application is very similar, except that it calls methods from other files that return strings. These methods communicate with microprocessors and other peripherals. This is code I have made simple and have been debugging with the same problem, remember keep it simple?


If you want to make a simpler code to demonstrate the problem, you have to make a code that actually does demonstrate the problem. The code that you posted didn't do that.

asquaredtech wrote:
Actually the code will put the string:
"Sending File....\rLine 1 of 3"


No, it wont. As I explained, if the code would have assigned the result of the Remove call to the Text property it would have produced that result, but the code doesn't do that.

asquaredtech wrote:
the remove command removes the "\n" because the text string has indexes for the "\" even though they are not counted separately in the text.Length.


No, it would remove the '\n' character because you are sending the wrong index to the method. The string does not contain indexes for the escape characters used to specify the string literal.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionMultiple values in a querystring Pin
ferronrsmith9-Jan-09 8:48
ferronrsmith9-Jan-09 8:48 
AnswerRe: Multiple values in a querystring Pin
sudhanvag10-Jan-09 5:18
sudhanvag10-Jan-09 5:18 
GeneralRe: Multiple values in a querystring Pin
ferronrsmith10-Jan-09 9:55
ferronrsmith10-Jan-09 9:55 
GeneralRe: Multiple values in a querystring Pin
sudhanvag10-Jan-09 15:59
sudhanvag10-Jan-09 15:59 
QuestionRead and copy .docx Pin
Xtrme_XJ9-Jan-09 8:23
Xtrme_XJ9-Jan-09 8:23 
Questionunisgned integers and global cases in C# Pin
Xarzu9-Jan-09 7:54
Xarzu9-Jan-09 7:54 
AnswerRe: unisgned integers and global cases in C# Pin
Eddy Vluggen9-Jan-09 8:24
professionalEddy Vluggen9-Jan-09 8:24 
AnswerRe: unisgned integers and global cases in C# Pin
JByrd20069-Jan-09 9:02
JByrd20069-Jan-09 9:02 
AnswerRe: unisgned integers and global cases in C# Pin
Guffa9-Jan-09 17:52
Guffa9-Jan-09 17:52 
Questionany body idea in viterbi algorithm Pin
lawrenceinba9-Jan-09 7:39
lawrenceinba9-Jan-09 7:39 
AnswerRe: any body idea in viterbi algorithm Pin
Christian Graus9-Jan-09 7:46
protectorChristian Graus9-Jan-09 7:46 
GeneralRe: any body idea in viterbi algorithm Pin
lawrenceinba9-Jan-09 8:00
lawrenceinba9-Jan-09 8:00 
AnswerRe: any body idea in viterbi algorithm Pin
EliottA9-Jan-09 8:01
EliottA9-Jan-09 8:01 
GeneralRe: any body idea in viterbi algorithm Pin
Luc Pattyn9-Jan-09 8:20
sitebuilderLuc Pattyn9-Jan-09 8:20 
GeneralRe: any body idea in viterbi algorithm Pin
Eddy Vluggen9-Jan-09 8:40
professionalEddy Vluggen9-Jan-09 8:40 
GeneralRe: any body idea in viterbi algorithm Pin
Luc Pattyn9-Jan-09 9:55
sitebuilderLuc Pattyn9-Jan-09 9:55 
GeneralRe: any body idea in viterbi algorithm Pin
Eddy Vluggen9-Jan-09 11:03
professionalEddy Vluggen9-Jan-09 11:03 

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.