Hi Friends.
I try to use "Try Exception" to notify my users that my file on server is unvailable at the moment but,
I have got an debugger error mesage instead!
How can i get my own message instead and not file not found message by Lazarus?
Try
UrlDownloadToFile(nil, PChar(SourceFile), PChar(DestFile), 0, nil);
except
on E: Exception do begin
ShowMessage('The Server is unavailable at the moment! Try later.');
end;
end;
See the pix i attached with this question? IGet rid of this messagebox and replaced with my own message instead.
Thanks in advance
Bob