jemartalaban_1 0 Light Poster

hi can u help i have a problem regarding to my database, i need to show an error window when the connection is not available.
for example, the router is off means the user cannot connect to the database, so the user screen will appear that there is no connection. i am using adodb. help me please