Quantcast
Channel: cross-thread UI updating?
Browsing latest articles
Browse All 12 View Live

cross-thread UI updating?

thanks!sure enough, using ADI for the worker-to UI thread works w/o problems. fyi, i switched to the EventHandler style only because the MSDN article did so -- they were showing how one can make a...

View Article



cross-thread UI updating?

Hmya, you're struggling but it's a Good Thing.  To get your code to compile, recode the BeginInvoke() method like this:      Me.BeginInvoke(New System.EventHandler(AddressOf UpdateUI),...

View Article

cross-thread UI updating?

i found this informative MSDN article:      http://msdn.microsoft.com/msdnmag/issues/03/02/Multithreading/...which shed some serious light. using it, heres what i came up with:    Private m_data As...

View Article

Image may be NSFW.
Clik here to view.

cross-thread UI updating?

im not following.. like i mentioned im new to winforms. youve mentioned a couple of options, but i am not equipped to evaluate those options. i am on MSDN but the articles im seeing dont make it clear...

View Article

cross-thread UI updating?

A BackgroundWorker is easiest, just implement the RunWorkerCompleted event.  Or call Control.Invoke() from your thread to run a delegate instance on the UI thread.  The MSDN library article has a good...

View Article


cross-thread UI updating?

ok, so just a member-level scoped data variable, have the worker thread fill it, and dont let the UI touch it until its been filled. cool, that is part of what i have now...except my code now has the...

View Article

cross-thread UI updating?

Just use a class member, nothing special is needed.  Just don't touch the member in  methods that run on the UI thread until the BackgroundWorker tells you that it finished initializing it.

View Article

cross-thread UI updating?

i know, thats why im posting here -- to get the right way to do it.i know how to bind data. what i dont know is how to *get* the data, out of my worker thread, back into my main UI thread. thats what...

View Article


cross-thread UI updating?

Your on the wrong track with this.  The binding itself takes very little time, executing the data query does.  So let the background thread execute the query, then, when it is done, bind the data in...

View Article


cross-thread UI updating?

thanks. i checked out that entry on my local SDK, but it was pretty bare.can you show me an example of what you mean w/ a bit more detail? for instance, i have:SomeForm.vb--------------'bad, because...

View Article

cross-thread UI updating?

Cross-Thread UI updating is bad and will throw exceptions if you violate a cross-thread action.  To workaround this, you need to invoke the control you wish to update.if (somecontrol.InvokeRequired){...

View Article

cross-thread UI updating?

hello,i am a long time asp.net developer, but new to winform programming. in the application ive been assigned, the mainform spawns a new thread to fetch a bunch of data from a method. this takes time,...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images