I want to make a little program that calculates how much money i spent on my internet connection. I connect through a modem.

So my question is: how can i trigger an event in vb6 which tells me that i connected/disconnected from the internet?
I'd also like to know how to get the isp name.