Results 1 to 4 of 4

Thread: "DoEvents" in vb.net?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2002
    Posts
    628

    "DoEvents" in vb.net?

    im wating for a webbrowser to retrieve a page..

    im using
    Code:
     Do: DoEvents: Loop until wb.Busy = False
    this code would be fine in vb 6, but DoEvents no longer exists (not declared??).. what do i use instead?

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    a) You should post in the VB.NET section of the site.
    b) You should use threading instead of using DoEvents.
    c) You should search the site. A search in the VB.NET section for DoEvents led me to here: http://www.vbforums.com/showthread.p...light=doevents (Application.DoEvents())
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    DoEvents is still there , it's hidden under Application Object :

    VB Code:
    1. Application.DoEvents()

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    and btw , why do you keep posting VB.NET related in VB6 section ?

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