Results 1 to 2 of 2

Thread: InternetOpenUrl hangs when site is down!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    72

    Angry

    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!

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    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
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width