Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: WinSock
Expertise: Beginner
Oct 1, 1996

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 COM1
Print #1, "ATDT" & PhoneNumber$ & Chr$(13)
Close #1
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date