Solved

Internet Connection

Posted on 1998-08-19
7
342 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
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

827 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