Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IntGetFile
#1
how do i prevent my exe from crashing when there is no
internet connection ?

i think using err might be not elegant.

thanks
pi
#2
Code:
Copy      Help
out
if(!IntPing) end "no internet connection"

str s
IntGetFile "http://www.quickmacros.com" s
out s

Not sure that IntPing always works without url. If doesn't, use the same url as with IntGetFile or some other url that is always accessible.
#3
works fine for me !
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)