Click here to Skip to main content
15,909,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error in istalling VS 2003 Pin
data1420-Aug-06 13:24
data1420-Aug-06 13:24 
QuestionProblem sending mail with attachments using smtp server Pin
MarcoPan20-Aug-06 7:12
MarcoPan20-Aug-06 7:12 
AnswerRe: Problem sending mail with attachments using smtp server Pin
Guffa20-Aug-06 7:57
Guffa20-Aug-06 7:57 
GeneralRe: Problem sending mail with attachments using smtp server Pin
MarcoPan20-Aug-06 11:03
MarcoPan20-Aug-06 11:03 
AnswerRe: Problem sending mail with attachments using smtp server Pin
Guffa20-Aug-06 11:10
Guffa20-Aug-06 11:10 
QuestionHow to remove a character from a string - help required Pin
James1984198420-Aug-06 4:45
James1984198420-Aug-06 4:45 
GeneralRe: How to remove a character from a string - help required Pin
Vitaliy Tsvayer20-Aug-06 5:15
Vitaliy Tsvayer20-Aug-06 5:15 
AnswerRe: How to remove a character from a string - help required Pin
Nader Elshehabi20-Aug-06 5:15
Nader Elshehabi20-Aug-06 5:15 
Hello

How did you display your CSV file to view the square char?? Using the notepad maybe?


James19841984 wrote:
The problem is I don't know how to remove the square character because it is not a conventional ASCII character.


AFAIK it should have a code no matter what!! Try reading a known file char by char until you reach this char's position, then display its code in a messagebox or something.

Another thing, open a CSV file with an editor -eg notepad-, copy the square char -if you know that ALL squares are the same char. Sometimes the notepade jst display a square for several chars that it doesn't understand. When you copy the char, paste it into your code -ie. hardcode it-

Also use:

char Sq; //Hardcode it here!!
While(MyString.IndexOf(Sq) != -1)
    MyString.Remove(MyString.IndexOf(Sq), 1);


RegardsRose | [Rose]
AnswerRe: How to remove a character from a string - help required Pin
Coding C#20-Aug-06 23:16
Coding C#20-Aug-06 23:16 
GeneralRe: How to remove a character from a string - help required Pin
James1984198420-Aug-06 6:00
James1984198420-Aug-06 6:00 
GeneralRe: How to remove a character from a string - help required Pin
Colin Angus Mackay20-Aug-06 6:45
Colin Angus Mackay20-Aug-06 6:45 
GeneralRe: How to remove a character from a string - help required Pin
Nader Elshehabi20-Aug-06 10:06
Nader Elshehabi20-Aug-06 10:06 
QuestionThreading issue Pin
theonewithtom20-Aug-06 4:26
theonewithtom20-Aug-06 4:26 
AnswerRe: Threading issue Pin
Nader Elshehabi20-Aug-06 5:03
Nader Elshehabi20-Aug-06 5:03 
GeneralRe: Threading issue Pin
theonewithtom20-Aug-06 5:46
theonewithtom20-Aug-06 5:46 
GeneralRe: Threading issue [modified] Pin
Nader Elshehabi20-Aug-06 10:12
Nader Elshehabi20-Aug-06 10:12 
GeneralRe: Threading issue Pin
theonewithtom20-Aug-06 23:55
theonewithtom20-Aug-06 23:55 
GeneralRe: Threading issue Pin
Nader Elshehabi21-Aug-06 1:42
Nader Elshehabi21-Aug-06 1:42 
QuestionRe: Threading issue Pin
theonewithtom21-Aug-06 4:27
theonewithtom21-Aug-06 4:27 
AnswerRe: Threading issue Pin
Nader Elshehabi21-Aug-06 5:15
Nader Elshehabi21-Aug-06 5:15 
AnswerRe: Threading issue Pin
S. Senthil Kumar20-Aug-06 19:08
S. Senthil Kumar20-Aug-06 19:08 
AnswerRe: Threading issue Pin
Andrei Ungureanu20-Aug-06 20:28
Andrei Ungureanu20-Aug-06 20:28 
QuestionInstall !!? Pin
MHASSANF20-Aug-06 2:48
MHASSANF20-Aug-06 2:48 
QuestionRe: Install !!? Pin
Anthony Mushrow20-Aug-06 3:05
professionalAnthony Mushrow20-Aug-06 3:05 
QuestionRe: Install !!? [modified] Pin
MHASSANF20-Aug-06 3:10
MHASSANF20-Aug-06 3:10 

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.