473,528 Members | 2,547 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

quote from an article

hey all,

i read this quote from an article and was hoping someone can give me a more
basic explanation because i'm new to threads, still feel pretty new to
Microsoft:

Re: Delegates and Asynchronouse calls
"It's critical for you to remember that a callback method such as
MyCallbackMethod executes on a secondary thread, not on the primary UI
thread. That means you should never attempt to update the UI directly from a
callback method such as this. Instead, you must write code to switch the flow
of execution from the secondary thread running the callback method back to
the primary UI thread. "

What would be some examples of updating the UI that you couldn't do in a
secondary thread?

thanks,
rodchar
Nov 23 '05 #1
0 789

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1358
by: Bob Bedford | last post by:
Hello, I've a search engine on my e-commerce website that returns 10 articles per page. Actually, the customer may make a search, click on any article result then come back to the list and click on an other article. I'd like to provide a "next article" and "previous article" button: this will let the customer browse all articles without...
38
3638
by: Grant Edwards | last post by:
In an interview at http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=273 Alan Kay said something I really liked, and I think it applies equally well to Python as well as the languages mentioned: I characterized one way of looking at languages in this way: a lot of them are either the agglutination of features or they're a...
18
1794
by: Dave Thomas | last post by:
I am starting to learn how to code CSS vs using tables. I have used tables for many years, and can do just about anything with them. However I can see how CSS is more flexible and compact (and seems like more and more people are using it). I have done a few tutorials on the web for CSS and am catching on. But I have a couple basic...
55
3397
by: Cindy | last post by:
Hello!! I'm new at access and there's is an article by Arvin Meyer for beginners that is references in Google Groups but I can't seem to find the original post with the article's URL. Does anyone know where I can find that article, or why the thread appears to be missing from the archives? Here's the link: ...
25
1382
by: Roger | last post by:
I am writing non GUI software in C for use on Windows and Linux. while libc packages are generally compatible, I am ending up with a lot of conditional macros for OS and I/O related stuff such as sleep, sockets fork etc. What I would really loke is something that implements as much as possible glibc on a windows platform. I have seen...
8
1963
by: Will Chamberlain | last post by:
I came across a rather interesting article this morning and thought I'd share. We all know that Visual Studio is a great IDE, but I think we can all agree that it is adds a dramatic change to how we write code. I'm not posting to talk trash or start a flamewar, just wanting feedback in regards to the following article. I happen to use Visual...
0
860
by: dantan98 | last post by:
Hello, all! I am hoping you can help me. I am trying to find an online article about transferring an image via a web service. It involves encoding on one end into a byte stream, passing it to the web service and decoding it on the other end. This was a simple article and I was going to use it for one-way image transfer transactions...
0
1871
by: intellaguy | last post by:
If you are interested in submitting content to article directories you are not alone. But of course, before you can do this you need to learn the submission process. This is a simple process to pick up on, and as long as you take your time you will be submitting articles in no time at all. The good thing is that once you are familiar with the...
0
7657
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7242
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5787
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4823
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3319
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1708
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
894
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
556
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.