Solved

How to monitor modem connect to the internet ?

Posted on 2004-10-31
150 Views
Last Modified: 2013-11-20
I want to monitor the modem, if the user is trying to dial up to connect to the internet, I will be notified and I can do something, how to do it ?
0
Question by:Tom_lyd
    4 Comments
     
    LVL 6

    Accepted Solution

    by:
    hi tom

    have a look at the article and code at the following link

    www.codeproject.com/internet/afdialer.asp
    0
     
    LVL 16

    Expert Comment

    by:kiranvj
    hi..

    u can use RasEnumConnection API

    kiranvj
    0
     

    Author Comment

    by:Tom_lyd
    Thank you very much, if the user only connect the modem to the computer and powered on, but don't dail up, then how can I know a modem is connected to the computer other than dailing up ?
    0
     
    LVL 16

    Expert Comment

    by:kiranvj
    hi ...

    chk  the link...

    http://www.freevbcode.com/ShowCode.asp?ID=1674

    its a vb code. u can use the APIs in the example. It list modems connected to ur computer.
    If the number is zero , then no modems are connected to ur computer.

    hope this helps

    kiranvj
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
    Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

    884 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now