PDA

Click to See Complete Forum and Search --> : InternetOpenUrl hangs when site is down!!


cLocKwOrk
Feb 22nd, 2001, 07:36 PM
Hi all,
I just wanted to see if anyone knew if there is a way to avoid InternetOpenUrl hanging when the url u pass it is down. Is there any other API calls you can make to verify that the site is up?

I'd appreciate any help.

TIA!

Lord Orwell
Feb 23rd, 2001, 08:59 PM
module code:
dim starttime as long
dim duration as long

code in button:
starttime = timer
duration = 1000
webbrowser1.navigate...

timer code:
if webbrowser1.busy = true and starttime + duration > timer then webbrowser1.stop