Results 1 to 3 of 3

Thread: Wait for Internet Explorer

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    12
    hi
    I basically want to browse the net but I want to load
    the web pages complete.
    when I use sleep then my total system stands and I have to kill the Process

    Public WithEvents IE As InternetExplorer

    IE.Visible = True
    dis = 1
    IE.Navigate "http://www.onlinekosten.de"
    sleep (2000)
    dis = 2
    IE.Navigate "http://www.heidelberg.de"
    sleep (2000)

    Anybody knows a lsolution ?


    thx alex

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Lightbulb

    Why do you need any Sleep function when you already have a WebBrowser control that has that functionality:

    Code:
        WebBrowser1.Navigate "www.vb-world.net"
        Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
            Debug.Print WebBrowser1.ReadyState
            DoEvents
        Loop
        MsgBox "Page has been loaded."

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    12

    Wink

    hi
    I need it because I am an Newbie

    But thx to your Help I am getting better.

    thx

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