The following on Page1 OnShow
Code:
if HTTP.TestConnection() == true then Page.Jump("Page2"); else Page.Jump("Page3"); end
Only a question:
Will that file, that url, be deleted in the future?
if HTTP.TestConnection() == true then Page.Jump("Page2"); else Page.Jump("Page3"); end
[ATTACH]n303429[/ATTACH]
IsConnected = HTTP.TestConnection("http://www.google.com", 20, 80, nil, nil); if (IsConnected == true) then Dialog.Message("Notice", "Internet connection was detected"); else Dialog.Message("Notice", "No Internet connection was detected."); end
connected = HTTP.TestConnection("http://www.google.com", 20, 80, nil, nil);
Leave a comment: