Solved

Internet Connection

Posted on 1998-08-19
7
340 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

19 Experts available now in Live!

Get 1:1 Help Now