?
Solved

What is synchronous and asynchronous communication between objects

Posted on 2001-08-28
3
Medium Priority
?
334 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
[X]
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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
JonFish85 earned 220 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

752 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