I have recently upgraded my machine to XP. However whenever I connect to the internet, I'm having problems disconnecting (I get an error message saying that it cannot disconnect at the moment because it it attempting to connect). Does anyone know how to close a connection using VB. I suspect there is some API function that does this but I couldn't find it. If there is, how does one use it (perhaps an example). Thx for your anticipated help. I use a dial-up connection by the way.