Solved

What is synchronous and asynchronous communication between objects

Posted on 2001-08-28
3
331 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 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

690 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