i have a dail up modem connected to COM4. i need to be able to tell how long it has been connected to the Internet using vb.net 2005. i also would like to know how to forcibly close the modem or the COM4 port. i would also like to know how to send the program the the system tray when the close button is pressed. but if there is no quick answer then i am sure i can find it in the forums someplace.

thanks in advance.