Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to record a phone call?? Pin
crash8933-Jun-07 15:02
crash8933-Jun-07 15:02 
GeneralRe: How to record a phone call?? Pin
r_jaz3-Jun-07 19:44
r_jaz3-Jun-07 19:44 
QuestionInterface Pin
Rahul832-Jun-07 23:53
Rahul832-Jun-07 23:53 
AnswerRe: Interface Pin
Arun.Immanuel3-Jun-07 0:16
Arun.Immanuel3-Jun-07 0:16 
AnswerRe: Interface Pin
Hesham Yassin6-Jun-07 8:29
Hesham Yassin6-Jun-07 8:29 
QuestionSearching for an easy way to write fuctions name... Pin
Arish rivlin2-Jun-07 22:15
Arish rivlin2-Jun-07 22:15 
AnswerRe: Searching for an easy way to write fuctions name... Pin
DavidNohejl3-Jun-07 2:26
DavidNohejl3-Jun-07 2:26 
QuestionHOW TO MAKE VALIDATION IN WINDOS APPLICATION Pin
ashraf hakiem2-Jun-07 22:01
ashraf hakiem2-Jun-07 22:01 
AnswerRe: HOW TO MAKE VALIDATION IN WINDOS APPLICATION Pin
WillemM2-Jun-07 22:08
WillemM2-Jun-07 22:08 
GeneralRe: HOW TO MAKE VALIDATION IN WINDOS APPLICATION Pin
ashraf hakiem2-Jun-07 22:16
ashraf hakiem2-Jun-07 22:16 
GeneralRe: HOW TO MAKE VALIDATION IN WINDOS APPLICATION Pin
Christian Graus3-Jun-07 1:23
protectorChristian Graus3-Jun-07 1:23 
GeneralRe: HOW TO MAKE VALIDATION IN WINDOS APPLICATION Pin
WillemM3-Jun-07 4:30
WillemM3-Jun-07 4:30 
QuestionPermutations/Combinations Pin
Expert Coming2-Jun-07 20:41
Expert Coming2-Jun-07 20:41 
AnswerRe: Permutations/Combinations Pin
Luc Pattyn3-Jun-07 2:06
sitebuilderLuc Pattyn3-Jun-07 2:06 
QuestionHow to split work into multiple threads. Pin
kripzz2-Jun-07 19:50
kripzz2-Jun-07 19:50 
AnswerRe: How to split work into multiple threads. Pin
Expert Coming2-Jun-07 20:14
Expert Coming2-Jun-07 20:14 
GeneralRe: How to split work into multiple threads. Pin
kripzz2-Jun-07 20:25
kripzz2-Jun-07 20:25 
GeneralRe: How to split work into multiple threads. Pin
Expert Coming2-Jun-07 20:29
Expert Coming2-Jun-07 20:29 
AnswerRe: How to split work into multiple threads. Pin
Christian Graus2-Jun-07 20:32
protectorChristian Graus2-Jun-07 20:32 
AnswerRe: How to split work into multiple threads. Pin
Luc Pattyn3-Jun-07 2:34
sitebuilderLuc Pattyn3-Jun-07 2:34 
AnswerRe: How to split work into multiple threads. Pin
Robert Rohde3-Jun-07 2:57
Robert Rohde3-Jun-07 2:57 
GeneralRe: How to split work into multiple threads. Pin
kripzz11-Jun-07 16:39
kripzz11-Jun-07 16:39 
Worked great thanks.

One problem though, not sure if im doing this correctly, everytime i try close the program while the threads are running it gets errors. I have a form closing event that invokes the Thread.Abort() method before closing but it doesnt seem to work. I think its the object disposed error.

private void displayPing(int index, string msg)<br />
{<br />
    if (this.listView1.InvokeRequired)<br />
    {<br />
        try<br />
        {<br />
            displayCallBack hscb = new displayCallBack(displayPing);<br />
            this.Invoke(hscb, new object[] { index, msg});<br />
        }<br />
        catch (Exception) { }<br />
    }<br />
    else<br />
    {   <br />
        try<br />
        {<br />
            this.listView1.Items[index].SubItems[5].Text = msg;<br />
        }<br />
        catch (Exception) { }<br />
    }<br />
}

AnswerRe: How to split work into multiple threads. Pin
Hesham Yassin6-Jun-07 8:32
Hesham Yassin6-Jun-07 8:32 
QuestionHmmm why won't this work? Pin
mfkr2-Jun-07 17:58
mfkr2-Jun-07 17:58 
AnswerRe: Hmmm why won't this work? Pin
Christian Graus2-Jun-07 19:07
protectorChristian Graus2-Jun-07 19:07 

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.