I am looking for a small sample app that will show me how to pick an Internet connection, either a RAS connection or LAN connection. Check to see if a connection to the Internet connection is established, and determine if the connection has been dropped. I am creating an application that will be able to do updates via the Internet. When the user clicks on the Update button, I need the program to go out to the Internet and pull down the latest information. I know how to use FTP and that part works fine. I want the user to pick the Internet connection they want to use in an option menu so that when they click the Update button the program will automatically connect and pull down the files. I have a few users that have a LAN connection to the Internet but do not want to use this to due the update, they want to use a dial-up session, don’t ask me why. One problem I’m having is that the program always tries to use the LAN connection. Does anyone know of a good sample app that I can take a look at? Please let me know ASAP. Thanks in advance.