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

Dialling a number

I need the source code for vb to dial a given number. If the numer dialed is busy, it should dial the alternate number  provided.
1 Solution
You will find the code for a simple dialer in your \VB\samples\vbterm  directory. After you dial out, the dialer (or you) reads your Comm port. If your modem sends a "BUSY" reply (this is exactly the string reply you will get) you will have to hang up i.e send ATH0 & chr(13) to the modem and wait a second or two (waiting is a must). Then you dial out your second number the same way you did before.

Good Luck with modems. You'll need it.
rodney_almAuthor Commented:

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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