Thanks for that. I found another solution which works perfectly for me in that it does not pop up the Windows Dial Up Networking Dialog and correctly tells me whether I am connected or not. It is from Anatoliy Mogylevets at www.news2news.com. He offers the following: