Click here to Skip to main content
15,913,587 members
Home / Discussions / C#
   

C#

 
QuestionCrystal controle in C#.net Pin
KIDYA22-May-09 18:55
KIDYA22-May-09 18:55 
QuestionLogin code Pin
KIDYA22-May-09 18:52
KIDYA22-May-09 18:52 
AnswerRe: Login code Pin
padmanabhan N22-May-09 18:56
padmanabhan N22-May-09 18:56 
GeneralRe: Login code Pin
KIDYA22-May-09 19:02
KIDYA22-May-09 19:02 
AnswerRe: Login code Pin
MumbleB22-May-09 20:18
MumbleB22-May-09 20:18 
GeneralRe: Login code Pin
KIDYA22-May-09 20:36
KIDYA22-May-09 20:36 
AnswerRe: Login code Pin
Mycroft Holmes22-May-09 21:41
professionalMycroft Holmes22-May-09 21:41 
QuestionCross Threads problemo (invalidoperationexception) Pin
Quake2Player22-May-09 15:47
Quake2Player22-May-09 15:47 
Hi,

I have an email application and when checking mails I use a new thread (so it doesnt stuck the whole program while downloading data).

the problem is that this method (runned by the new thread) fires some events, and some of that events have observer methods that modify a textbox (txtLog).. and it throws this exception InvalidOperationException..

How do i resolve this?

The weird thing is that some observer methods modify a status bar and there the exception isnt thrown
AnswerRe: Cross Threads problemo (invalidoperationexception) Pin
Luc Pattyn22-May-09 16:09
sitebuilderLuc Pattyn22-May-09 16:09 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Quake2Player22-May-09 16:28
Quake2Player22-May-09 16:28 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Luc Pattyn22-May-09 17:16
sitebuilderLuc Pattyn22-May-09 17:16 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Quake2Player22-May-09 17:23
Quake2Player22-May-09 17:23 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Luc Pattyn22-May-09 17:36
sitebuilderLuc Pattyn22-May-09 17:36 
AnswerRe: Cross Threads problemo (invalidoperationexception) Pin
beatles169222-May-09 20:46
beatles169222-May-09 20:46 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Mark Salsbery23-May-09 11:33
Mark Salsbery23-May-09 11:33 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
beatles169223-May-09 22:25
beatles169223-May-09 22:25 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Quake2Player22-Jun-09 8:36
Quake2Player22-Jun-09 8:36 
Question_ID field goes wrong Pin
misCafe22-May-09 15:28
misCafe22-May-09 15:28 
AnswerRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 16:13
sitebuilderLuc Pattyn22-May-09 16:13 
GeneralRe: _ID field goes wrong Pin
misCafe22-May-09 16:43
misCafe22-May-09 16:43 
GeneralRe: _ID field goes wrong Pin
fly90422-May-09 17:10
fly90422-May-09 17:10 
GeneralRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 17:18
sitebuilderLuc Pattyn22-May-09 17:18 
GeneralRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 17:19
sitebuilderLuc Pattyn22-May-09 17:19 
AnswerRe: _ID field goes wrong Pin
fly90422-May-09 16:34
fly90422-May-09 16:34 
GeneralRe: _ID field goes wrong Pin
misCafe22-May-09 17:27
misCafe22-May-09 17:27 

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.