• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

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!
0
hirschhouse
Asked:
hirschhouse
  • 2
1 Solution
 
JonFish85Commented:
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now