What is synchronous and asynchronous communication between objects

What is synchronous and asynchronous communication between objects?? what would you use it for???
How do you apply it?

HELP!
hirschhouseAsked:
Who is Participating?
 
JonFish85Connect With a Mentor Commented:
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
 
shastry_yedavalliCommented:
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
 
JonFish85Commented:
glad I could help! Thanks for the points and especially for the "A" grade!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.