Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

What is synchronous and asynchronous communication between objects

Posted on 2001-08-28
3
326 Views
Last Modified: 2012-05-04
What is synchronous and asynchronous communication between objects?? what would you use it for???
How do you apply it?

HELP!
0
Comment
Question by:hirschhouse
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
JonFish85 earned 55 total points
ID: 6435066
lets say you have something like this:

MyDatabase.GetAllRecords()
MsgBox "Done!"

with synchronous communication, the messagebox would show after the MyDatabase.GetAllRecords() has completed. Asynchonous would show the messagebox directly after the line of code above it is read, as the GetAllRecords() is executing...

You would use it (asynchronous execution) say if you have a huge database (5m records maybe?) and didnt want the user to think the computer had hung...

Hope this helps! Correct me if Im wrong experts!
0
 

Expert Comment

by:shastry_yedavalli
ID: 6435796
You can find more on this topic @ my website. Go to the ADO Connection Object article under the ASP section of my website http://www.shastrynet.com/

0
 
LVL 6

Expert Comment

by:JonFish85
ID: 6437342
glad I could help! Thanks for the points and especially for the "A" grade!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question