Hi In the button click procedure, just call the CheckInternetConnection function. If it is true, then navigate to the internet site, otherwise, show the user offline version. However, you will need to put the declaration and definition of the function in a public module and make the function public as well. HTH Shreekar http://shreekarishere.blogspot.com