How, i've made a program that uploads files on ftp server, the thing is that whenever i don't have access to the internet, it appears me an error, which stops running the program and says that i am not connected to the internet.
How do i make the program appear that message in a showmessage box, so that it doesn't stop running the program?
For example:
If internetconnection then
begin
end else showmessage ('You are not connected to the internet')