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

.NET (Core and Framework)

 
GeneralRe: FTP WEB Request error (550) File unavailable Pin
Sean_B30-Jan-08 3:01
Sean_B30-Jan-08 3:01 
GeneralWeb services Pin
dSolariuM28-Jan-08 20:57
dSolariuM28-Jan-08 20:57 
GeneralCross Post Pin
led mike29-Jan-08 5:45
led mike29-Jan-08 5:45 
QuestionAny suggestions for how to "automate" a Drag-n-Drop'ed folder using the new System.Windows.Automation namespace? Pin
Phreud28-Jan-08 18:26
Phreud28-Jan-08 18:26 
General3.5 to 3.0 Conversion Pin
ss.mmm28-Jan-08 8:23
ss.mmm28-Jan-08 8:23 
GeneralRe: 3.5 to 3.0 Conversion Pin
Pete O'Hanlon28-Jan-08 10:15
mvePete O'Hanlon28-Jan-08 10:15 
GeneralRe: 3.5 to 3.0 Conversion Pin
ss.mmm28-Jan-08 11:01
ss.mmm28-Jan-08 11:01 
GeneralRe: 3.5 to 3.0 Conversion Pin
Ed.Poore28-Jan-08 21:50
Ed.Poore28-Jan-08 21:50 
GeneralRe: 3.5 to 3.0 Conversion Pin
Pete O'Hanlon28-Jan-08 21:53
mvePete O'Hanlon28-Jan-08 21:53 
GeneralRe: 3.5 to 3.0 Conversion Pin
Ed.Poore29-Jan-08 2:08
Ed.Poore29-Jan-08 2:08 
GeneralRe: 3.5 to 3.0 Conversion Pin
Pete O'Hanlon29-Jan-08 2:58
mvePete O'Hanlon29-Jan-08 2:58 
GeneralRe: 3.5 to 3.0 Conversion Pin
Ed.Poore29-Jan-08 3:01
Ed.Poore29-Jan-08 3:01 
Question0xc0150002 error Pin
Arsalan Malik28-Jan-08 4:54
Arsalan Malik28-Jan-08 4:54 
GeneralCross post Pin
led mike28-Jan-08 7:09
led mike28-Jan-08 7:09 
GeneralRe: Cross post Pin
Arsalan Malik29-Jan-08 1:24
Arsalan Malik29-Jan-08 1:24 
GeneralRemoting and events Pin
bwilhite28-Jan-08 3:14
bwilhite28-Jan-08 3:14 
GeneralRe: Remoting and events Pin
led mike28-Jan-08 6:57
led mike28-Jan-08 6:57 
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.

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.