Solved

Internet Connection

Posted on 1998-08-19
7
343 Views
Last Modified: 2010-08-05
How can I detect the Internet Connection(modem, T1, etc.) in Delphi 3.0?
0
Comment
Question by:fh1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1337271
fh 1,

look at freeware RasDial application which does all that                             Include full source code. Download from http://www.rtfm.be/fpiette/indexuk.htm.

Regards, Zif.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1337272
Hi,

The RASEnumConnections API can list available connections. I think this is the best way!

Or you can also do a ping. If result=true then your connected.

Regards, Zif.
0
 

Author Comment

by:fh1
ID: 1337273
Hi ZifNab,
Could you give me a working example of RASEnumConnections function(declaring types and variables) in delphi 3.0?
Thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Accepted Solution

by:
venks earned 50 total points
ID: 1337274
Dear fh1
You can use Rasdial and  TFnugryRASNotify components to do all the needful for connecting and detecting connection to internet.They are both available at Torry's delphi pages under communication.They both come with demo programs and the help file is self explanatory.
If you give me your e mail address I will send you both the components
Venks
0
 
LVL 1

Expert Comment

by:venks
ID: 1337275
Dear fh1
You can use Rasdial and  TFnugryRASNotify components to do all the needful for connecting and detecting connection to internet.They are both available at Torry's delphi pages under communication.They both come with demo programs and the help file is self explanatory.
If you give me your e mail address I will send you both the components
Venks
0
 

Author Comment

by:fh1
ID: 1337276
Dear Venks
This is my email: fh@stanleyassoc.com
0
 
LVL 1

Expert Comment

by:venks
ID: 1337277
Dear fh1
I have already sent the components
venks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 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