Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threadding Issue Pin
Harvey Saayman13-Feb-08 2:10
Harvey Saayman13-Feb-08 2:10 
GeneralRe: Threadding Issue Pin
Giorgi Dalakishvili13-Feb-08 2:20
mentorGiorgi Dalakishvili13-Feb-08 2:20 
GeneralRe: Threadding Issue Pin
Bekjong13-Feb-08 2:56
Bekjong13-Feb-08 2:56 
GeneralRe: Threadding Issue Pin
Harvey Saayman13-Feb-08 3:16
Harvey Saayman13-Feb-08 3:16 
GeneralRe: Threadding Issue Pin
Bekjong13-Feb-08 3:27
Bekjong13-Feb-08 3:27 
GeneralRe: Threadding Issue Pin
Harvey Saayman13-Feb-08 3:31
Harvey Saayman13-Feb-08 3:31 
GeneralRe: Threadding Issue Pin
Bekjong13-Feb-08 3:46
Bekjong13-Feb-08 3:46 
GeneralRe: Threadding Issue Pin
GuyThiebaut13-Feb-08 4:09
professionalGuyThiebaut13-Feb-08 4:09 
Here is an example of how to use Invoke.
Put this at the top of your form or class.

<code>        delegate void SetTextCallback(string text);

        private void SetInfo(string text)
        {
            if (this.txtInfo.InvokeRequired)
            {
                SetTextCallback d = new SetTextCallback(SetInfo);
                this.Invoke(d, new object[] { text });
            }
            else
            {
                this.txtInfo.Text = text;
            }
        }</code>

Within your thread to set txtInfo.Text do this:

SetInfo("Hello World");


You always pass failure on the way to success.


GeneralSoap Serialization vs Binary vs XML Pin
asdf98913-Feb-08 1:00
asdf98913-Feb-08 1:00 
GeneralRe: Soap Serialization vs Binary vs XML Pin
CKnig13-Feb-08 2:24
CKnig13-Feb-08 2:24 
Generalquick tcp question Pin
pokabot13-Feb-08 0:50
pokabot13-Feb-08 0:50 
GeneralRe: quick tcp question Pin
stancrm13-Feb-08 1:57
stancrm13-Feb-08 1:57 
GeneralRe: quick tcp question Pin
pokabot13-Feb-08 9:20
pokabot13-Feb-08 9:20 
GeneralRe: quick tcp question [modified] Pin
engsrini13-Feb-08 15:51
engsrini13-Feb-08 15:51 
General[Message Deleted] Pin
chithra.r13-Feb-08 0:27
chithra.r13-Feb-08 0:27 
GeneralWrong forum? Pin
Mircea Puiu13-Feb-08 0:39
Mircea Puiu13-Feb-08 0:39 
GeneralI have some simple problem with dataset Pin
seta_yas13-Feb-08 0:22
seta_yas13-Feb-08 0:22 
GeneralRe: I have some simple problem with dataset Pin
Mircea Puiu13-Feb-08 0:41
Mircea Puiu13-Feb-08 0:41 
GeneralRe: I have some simple problem with dataset Pin
seta_yas17-Feb-08 17:59
seta_yas17-Feb-08 17:59 
GeneralQuestion on FastListView. Pin
vinutha kempanna13-Feb-08 0:15
vinutha kempanna13-Feb-08 0:15 
QuestionHOW TO SEND RESULT OF AN ASYNCHRONOUSLY CALLED WEBMETHOD TO A WEBFORM AFTER RENDERING THE WEBFORM? Pin
syamooo13-Feb-08 0:12
syamooo13-Feb-08 0:12 
GeneralRe: HOW TO SEND RESULT OF AN ASYNCHRONOUSLY CALLED WEBMETHOD TO A WEBFORM AFTER RENDERING THE WEBFORM? Pin
Mircea Puiu13-Feb-08 0:47
Mircea Puiu13-Feb-08 0:47 
GeneralOnPaint ClipRectangle is whole control when resizing Pin
Rob Philpott13-Feb-08 0:05
Rob Philpott13-Feb-08 0:05 
GeneralRe: OnPaint ClipRectangle is whole control when resizing Pin
Mircea Puiu13-Feb-08 0:37
Mircea Puiu13-Feb-08 0:37 
GeneralRe: OnPaint ClipRectangle is whole control when resizing Pin
Rob Philpott13-Feb-08 0:41
Rob Philpott13-Feb-08 0:41 

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.