devxlogo

Dialing a Phone

Dialing a Phone

Question:
Can you show me how to open COM1: and dial a phone number using tone dialing?

Answer:
Try this. This is out of the VB Frequently Asked Questions file.

PhoneNumber$ = “(123) 456-7890″Open “COM2” For Output As #1   ‘or COM1Print #1, “ATDT” & PhoneNumber$ & Chr$(13)Close #1

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist