take a look at this: an earlier post where someone asked how to disconnect an internet connection through VB. It seems very similar to your problem. Let me know if this helps at all

This may be useful:

--------------------------------------------------------

InternetHangUp Function

--------------------------------------------------------

Instructs the modem to disconnect from the Internet.

Syntax

DWORD InternetHangUp(
IN DWORD dwConnection,
IN DWORD dwReserved
);


dwConnection
Unsigned long integer value that contains the number assigned to the connection to be disconnected.
dwReserved
Reserved. Must be set to zero.



code:--------------------------------------------------------------------------------
Declare Function InternetHangup Lib "wininet" (ByVal dwConnection As Long, ByVal dwReserved As Long) As Long

--------------------------------------------------------------------------------



Try InternetHangup(0, 0)


__________________
- Steve

Real programmers use COPY CON PROGRAM.EXE