Sometimes you need to know if you have a valid Internet connection (especially if you are doing things like Internet replication!). You can use the code in the Connect module to test out whether you have a valid connection; just pass a URL to the TestConnection function. Note: This function uses the Unicode APIs in WinInet.dll. It definitely works on IE 5.0. I am not 100% positive that the Unicode functions are supported in IE 4.0 (they are not supported in IE 3.0). If you have IE 4.0 and this code does not work for you, e-mail me and I'll give you the ANSI version.