Click here to Skip to main content
15,888,984 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Remoting and events Pin
bwilhite28-Jan-08 8:21
bwilhite28-Jan-08 8:21 
GeneralRe: Remoting and events Pin
bwilhite28-Jan-08 14:04
bwilhite28-Jan-08 14:04 
GeneralRe: Remoting and events Pin
Joachim Kerschbaumer6-Feb-08 4:24
Joachim Kerschbaumer6-Feb-08 4:24 
GeneralRe: Remoting and events Pin
bwilhite6-Feb-08 10:10
bwilhite6-Feb-08 10:10 
Generalabout web services Pin
dSolariuM27-Jan-08 2:39
dSolariuM27-Jan-08 2:39 
GeneralRe: about web services Pin
Paul Conrad27-Jan-08 10:28
professionalPaul Conrad27-Jan-08 10:28 
GeneralRe: about web services Pin
pmarfleet27-Jan-08 12:04
pmarfleet27-Jan-08 12:04 
GeneralRe: about web services Pin
bwilhite28-Jan-08 3:21
bwilhite28-Jan-08 3:21 
As for #2...

Have you tried using a SynchronizationContext object to marshal the call to the correct thread?

In the UI thread set your myContext = SynchronizationContext.Current;

Then when you need to make that cross-thread call you do

myContext.Post();

Inside the Post you have to give it a callback method (I can't remember the name...I let intellisense remember for me :P ), along with an object which is sent to the callback method

in the callback method is where you actually change your UI object...

This works nicely for me.

The other two options are the one you tried, and using an AsyncOperationManager object, I like this one though.
GeneralTable Adapter Weirdness Pin
#realJSOP25-Jan-08 9:57
mve#realJSOP25-Jan-08 9:57 
GeneralRe: Table Adapter Weirdness Pin
Paul Conrad25-Jan-08 11:25
professionalPaul Conrad25-Jan-08 11:25 
GeneralRe: Table Adapter Weirdness Pin
#realJSOP25-Jan-08 11:38
mve#realJSOP25-Jan-08 11:38 
GeneralRe: Table Adapter Weirdness Pin
Paul Conrad26-Jan-08 7:21
professionalPaul Conrad26-Jan-08 7:21 
GeneralRe: Table Adapter Weirdness Pin
led mike28-Jan-08 6:40
led mike28-Jan-08 6:40 
GeneralRe-using Code Pin
#realJSOP25-Jan-08 5:09
mve#realJSOP25-Jan-08 5:09 
GeneralRe: Re-using Code Pin
Tristan Rhodes25-Jan-08 5:31
Tristan Rhodes25-Jan-08 5:31 
GeneralRe: Re-using Code Pin
#realJSOP25-Jan-08 5:50
mve#realJSOP25-Jan-08 5:50 
GeneralRe: Re-using Code Pin
Tristan Rhodes25-Jan-08 6:07
Tristan Rhodes25-Jan-08 6:07 
GeneralRe: Re-using Code Pin
led mike25-Jan-08 6:59
led mike25-Jan-08 6:59 
GeneralRe: Re-using Code Pin
Luc Pattyn25-Jan-08 7:29
sitebuilderLuc Pattyn25-Jan-08 7:29 
GeneralRe: Re-using Code Pin
led mike25-Jan-08 7:48
led mike25-Jan-08 7:48 
GeneralRe: Re-using Code Pin
Kschuler25-Jan-08 8:17
Kschuler25-Jan-08 8:17 
GeneralRe: Re-using Code Pin
#realJSOP25-Jan-08 9:47
mve#realJSOP25-Jan-08 9:47 
GeneralRe: Re-using Code Pin
TheGreatAndPowerfulOz21-Feb-08 9:10
TheGreatAndPowerfulOz21-Feb-08 9:10 
QuestionHow to read text present on a image Pin
harivinod25-Jan-08 2:39
harivinod25-Jan-08 2:39 
AnswerRe: How to read text present on a image - Cross-post, ignore Pin
Justin Perez25-Jan-08 3:33
Justin Perez25-Jan-08 3:33 

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.