Click here to Skip to main content
15,887,027 members
Articles / Desktop Programming / MFC
Article

Internet dialup program

Rate me:
Please Sign up or sign in to vote.
3.12/5 (16 votes)
2 Dec 1999 293.5K   10.7K   45   53
A dial-up dialer for connection to Internet providers

Sample Image - afdialer.jpg

Introduction

I have written dial-up dialer for connection to Internet providers. This is a simple little program that dials your modem and tracks your online time. It also allows the user to setup multiple dial in numbers and gives the user a basic settings screen.

The sourcecode is freeware and can be distributed under terms of GPL. It is written in Visual C++ with use of MFC, RAS API and several other APIs like Performance Counters and multimedia API. Contact me if you have any suggestions on this software (lamer2000@hotmail.com) or on this article (alexander.fedorov@usa.net).

Latest update

The latest version of the project can be found here - http://win32utils.com/afd/

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer SEO
Russian Federation Russian Federation
AlexF's Blog in Russian
Owner Spy competition analysis
Rating Burner Rating of blogs

Comments and Discussions

 
QuestionProblem faced in Dial up connection Pin
ss1965 23-Nov-17 20:59
ss1965 23-Nov-17 20:59 
QuestionProgrmatically Creating New Modem Pin
Rangaraman12-Jul-12 3:33
Rangaraman12-Jul-12 3:33 
Hi,

I'm using windows default driver Usbser.sys for my Embedded device to connect it with my PC. I'm in a need to create LAN connection between my PC and my Embedded device, Programatically. I used Ras dial functions to make the dial-up connection.

But the problem here is before making the dial-up connection I need to create a Modem.

I followed the below steps to create a Modem, Manually. But I want to handle this part in the Code. How to do the below steps programatically.

Control Panel -> Phone and Modem options -> Navigate To Modem Menu -> Click Add button -> Select “Don’t detect my modem;I will select it from a list” -> Select “Communications cable between two computers” and click Next button -> Selected my COM port in which device is connected -> Finish.(Seems the modem driver is getting installed here)

And below is my SetupApi.log when installing the new modem, Manually:

[2012/07/11 21:07:12 4324.27 Driver Install]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\telephon.cpl",Phone and Modem Options
#I060 Set selected driver.
[2012/07/11 21:07:12 4324.28]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\telephon.cpl",Phone and Modem Options
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "ROOT\MODEM\0009".
#-011 Installing section [M2700] from "c:\windows\inf\mdmhayes.inf".
#I121 Device install of "ROOT\MODEM\0009" finished successfully.


How to achieve this part ( creating New Modem ) Programatically? Is there any Windows APIs available or is there a way to do this with writing some inf files? Please Suggest me some idea to proceed.

My Email-Id: sethuuraman@gmail.com

Thanks in advance...
GeneralMy vote of 5 Pin
r0ediPell1-Jul-10 16:29
r0ediPell1-Jul-10 16:29 
Questionwhat version of compiler was used. I've tried to compile under Version 7 and 8 of Visual Studio no luck Pin
ACPR4839-Apr-08 9:21
ACPR4839-Apr-08 9:21 
Generalsolved: RasEnumEntries() working in W2k/XP (code attached) Pin
Frank Rysanek25-Sep-06 4:10
Frank Rysanek25-Sep-06 4:10 
GeneralRe: solved: RasEnumEntries() working in W2k/XP (code attached) Pin
Tamnn20-Dec-09 23:49
Tamnn20-Dec-09 23:49 
GeneralRe: solved: RasEnumEntries() working in W2k/XP (code attached) Pin
Frank Rysanek21-Dec-09 5:10
Frank Rysanek21-Dec-09 5:10 
GeneralRe: solved: RasEnumEntries() working in W2k/XP (code attached) Pin
Tamnn23-Dec-09 5:04
Tamnn23-Dec-09 5:04 
GeneralRe: solved: RasEnumEntries() working in W2k/XP (code attached) Pin
Frank Rysanek23-Dec-09 10:02
Frank Rysanek23-Dec-09 10:02 
GeneralPlease Help:Cannot find the phone book error Pin
zalmay31-Aug-05 21:37
zalmay31-Aug-05 21:37 
GeneralCannot find the phone book entry Pin
aquintaba22-Aug-05 0:14
aquintaba22-Aug-05 0:14 
GeneralBad Link Pin
Kevin.Xue17-Apr-05 23:01
Kevin.Xue17-Apr-05 23:01 
GeneralRe: Bad Link Pin
Alexander Fedorov19-Apr-05 8:24
Alexander Fedorov19-Apr-05 8:24 
GeneralBad links Pin
Nish Nishant21-Mar-05 20:10
sitebuilderNish Nishant21-Mar-05 20:10 
GeneralRe: Bad links Pin
Alexander Fedorov19-Apr-05 8:24
Alexander Fedorov19-Apr-05 8:24 
GeneralSound effects Pin
Member 12215509-Sep-04 17:59
Member 12215509-Sep-04 17:59 
QuestionWhat is the appropriate RASENTRYNAME structure to work on all windows? Pin
mfc_surfer18-Dec-03 1:53
mfc_surfer18-Dec-03 1:53 
AnswerRe: What is the appropriate RASENTRYNAME structure to work on all windows? Pin
Aswathy K R28-Feb-06 4:32
Aswathy K R28-Feb-06 4:32 
GeneralProblem in win98 Pin
no_body6925-Jun-03 1:59
no_body6925-Jun-03 1:59 
QuestionHow to get device ID Pin
guostong19-May-03 19:13
guostong19-May-03 19:13 
QuestionHow to decrease size Pin
Lara Suji10-Mar-03 19:15
sussLara Suji10-Mar-03 19:15 
GeneralNot working under Win 2K Pin
Paras27-Feb-03 21:34
Paras27-Feb-03 21:34 
GeneralRe: Not working under Win 2K Pin
Alexander Fedorov28-Feb-03 1:04
Alexander Fedorov28-Feb-03 1:04 
QuestionWhere is the latest source code? Pin
Anonymous6-Nov-02 17:05
Anonymous6-Nov-02 17:05 
AnswerRe: Where is the latest source code? Pin
Alexander Fedorov7-Nov-02 4:42
Alexander Fedorov7-Nov-02 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.