Include Wininet in the uses clause, and then call the Boolean function :
Test := InternetAutodialHangup(0) 

It works a treat for me!

Cheers

Pedrocelli

----- Original Message ----- 
From: "gajo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 1:37 PM
Subject: [DUG] Hangup modem


How can I break any active connection at a given time? Or if that is too
complicated, then just a given connection at a given time?

I would like to write a program that would break the connection to the
Internet at 7 AM. That is when my free Internet access ends, and after that
I have to pay, but I'm usually not awake to do that manually. I have so far
not found any clues as to how to hangup the modem.

Gajo

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to