Click here to Skip to main content
15,917,321 members
Home / Discussions / C#
   

C#

 
AnswerRe: P/Invoke Pin
mav.northwind6-Oct-05 20:28
mav.northwind6-Oct-05 20:28 
GeneralRe: P/Invoke Pin
Member 18186146-Oct-05 21:50
Member 18186146-Oct-05 21:50 
QuestionHow do I invoke or call the insert table dialog Pin
Agyeman6-Oct-05 3:48
Agyeman6-Oct-05 3:48 
QuestionParser replacement target to Dot Net platform Pin
Member 23353326-Oct-05 3:44
Member 23353326-Oct-05 3:44 
AnswerRe: Parser replacement target to Dot Net platform Pin
David Stone6-Oct-05 12:12
sitebuilderDavid Stone6-Oct-05 12:12 
QuestionSendMessage return value Pin
status()6-Oct-05 3:24
status()6-Oct-05 3:24 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 3:50
status()6-Oct-05 3:50 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 4:19
status()6-Oct-05 4:19 
GeneralRe: SendMessage return value Pin
mav.northwind6-Oct-05 20:42
mav.northwind6-Oct-05 20:42 
QuestionListening to keypresses?? Pin
.M6-Oct-05 0:29
.M6-Oct-05 0:29 
QuestionHow can we add values in ArratList in different way?? Pin
parvinder sehrawat6-Oct-05 0:04
parvinder sehrawat6-Oct-05 0:04 
AnswerRe: How can we add values in ArratList in different way?? Pin
Stefan Troschuetz6-Oct-05 0:14
Stefan Troschuetz6-Oct-05 0:14 
Questionconverting aspx pages to HMTL pages Pin
A.Grover5-Oct-05 23:52
A.Grover5-Oct-05 23:52 
AnswerRe: converting aspx pages to HMTL pages Pin
Guffa6-Oct-05 0:06
Guffa6-Oct-05 0:06 
QuestionExecuting programs Pin
Stefan_ Spenz5-Oct-05 23:38
Stefan_ Spenz5-Oct-05 23:38 
AnswerRe: Executing programs Pin
Stefan Troschuetz5-Oct-05 23:48
Stefan Troschuetz5-Oct-05 23:48 
GeneralRe: Executing programs Pin
Stefan_ Spenz6-Oct-05 1:51
Stefan_ Spenz6-Oct-05 1:51 
AnswerRe: Executing programs Pin
User 66586-Oct-05 1:41
User 66586-Oct-05 1:41 
GeneralRe: Executing programs Pin
Stefan_ Spenz6-Oct-05 1:52
Stefan_ Spenz6-Oct-05 1:52 
Questionhow to get the target of shortcut Pin
Anonymous5-Oct-05 22:27
Anonymous5-Oct-05 22:27 
AnswerRe: how to get the target of shortcut Pin
Heath Stewart6-Oct-05 7:28
protectorHeath Stewart6-Oct-05 7:28 
QuestionDatabase query Pin
ybasha5-Oct-05 21:39
ybasha5-Oct-05 21:39 
AnswerRe: Database query Pin
Heath Stewart6-Oct-05 6:43
protectorHeath Stewart6-Oct-05 6:43 
QuestionSearching for a string value Pin
Brendan Vogt5-Oct-05 20:37
Brendan Vogt5-Oct-05 20:37 
AnswerRe: Searching for a string value Pin
S. Senthil Kumar5-Oct-05 20:45
S. Senthil Kumar5-Oct-05 20:45 
The problem with your loop is that you are looping through an array and deleting elements from it within the loop. Copying the contents into another array, deleting elements from it and then reassigning this copied array to the original array should do the trick.
ArrayList copyOfCharPool = new ArrayList(m_arrCharPool);

// Remove the following characters from the array: I, O, 0, 1
for(int i = 0; i < m_arrCharPool.Count; ++i)
{
     foreach(char j in m_sExcludeChars)
     {
          if(copyOfCharPool.IndexOf(j))
          {
               copyOfCharPool.RemoveAt(i);
          }
     }
}

m_arrCharPool = copyOfCharPool;


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro

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.