1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Test If A Website Is Already Open

Discussion in 'Software Development' started by balloon_tom, Jul 12, 2006.

Thread Status:
Not open for further replies.
  1. balloon_tom

    balloon_tom Thread Starter

    Joined:
    Jan 4, 2006
    Messages:
    107
    Hi folks,
    I have a macro which opens an IE window:

    Dim Ie As New InternetExplorer
    Ie.Visible = True
    Ie.Navigate "http://gisserve....../viewer.htm"

    I then navigate within this webpage and eventually get to the data I want. The data is displayed and extracted from the Ie status bar:

    Do
    'somethings
    ....
    a(0) = Ie.StatusText
    Loop

    No problems...all works great.
    However, if I need to stop and restart the macro, a new instace of Ie is of course opened, and I must re-navigate the new page which takes several minutes. I would like to test to see if this site is already open, and if so, be able to continue where I left off. Is this possible?
    Thanks,
    Tom
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Test Website Already
  1. kimjpo
    Replies:
    0
    Views:
    303
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/482664

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice