Phone dialer

Phone dialer

Question:
Is it possible to connect and disconnect a Microsoft phone dialer that calls my Internetservice provider from a VB program?

Answer:
It sure is, and VB makes it very easy. The Microsoft Comm Control (MSCOMM32.OCX) that ships with the Enterprise edition of VB allows you to interact with serial ports on your computer. To dial a phone number follow these steps:

1. Add the MSCOMM control to the Toolbox and then place it on a form.
2. Set the CommPort property to the number of the port the modem is connected to. Try 2MSComm1.CommPort=2
3. Set the Settings property to specify the Baud rate, parity, data bits, and stop bit. You can usually leave this property at its default value which is:

MSComm1.Settings = “9600,N,8,1”

4. Open the communications port:

MSComm1.PortOpen = True

5. Dial the number using a string made up of the Hayes-compatible command set (AT starts the connection, D dials, T specifies Touch Tone):

MSComm1.Output =”ATDT” & Number$ & vbCr

6. To disconect the modem:

MSComm1.Output = “ATH” + vbCr

Share the Post:
XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes

ransomware cyber attack

Why Is Ransomware Such a Major Threat?

One of the most significant cyber threats faced by modern organizations is a ransomware attack. Ransomware attacks have grown in both sophistication and frequency over the past few years, forcing

data dictionary

Tools You Need to Make a Data Dictionary

Data dictionaries are crucial for organizations of all sizes that deal with large amounts of data. they are centralized repositories of all the data in organizations, including metadata such as