Hey!
I can't find a way to disconnect from the internet with a VB 6.0 program.

I tried this http://www.vb-world.net/internet/tip21.html
But VB don't accept the first 5 lines and this part:

Public Declare Function RasHangUp Lib "rasapi32.dll" Alias _
"RasHangUpA" (ByVal hRasConn As Long) As LongPublic gstrISPName As String
Public ReturnCode As Long

Anyone have a way to do this, or corrections for the codes above

Thanks!

Niels