Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

detect busy telephone line

Posted on 1997-03-25
4
Medium Priority
?
314 Views
Last Modified: 2008-03-10
I wrote a simple program that calls a telephone number with MSComm control.
How can I learn if the number is busy.
0
Comment
Question by:daloukas
[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
4 Comments
 

Accepted Solution

by:
wmingee earned 50 total points
ID: 1424728
you'll recieve input from the modem of "BUSY".
0
 

Author Comment

by:daloukas
ID: 1424729
Thanks, but how can I receive the "BUSY"  from modem. By an AT command ? By a property in MsComm?
0
 

Expert Comment

by:wmingee
ID: 1424730
It will come in thru the OnComm event. After you send the dial string you will get one of sveral possible responses such as connect, no dailtone, busy, etc
0
 
LVL 1

Expert Comment

by:Pavel040997
ID: 1424731
You will get the "BUSY" input from the modem1
You can receive it like this:

if mscomm.input="BUSY" then ....


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.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

618 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