CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13

Threaded View

  1. #1
    Join Date
    Nov 2002
    Posts
    278

    Is DoEvents bad?

    A co-worker is telling me that VB’s DoEvents should never be used in a VB event driven application. I also worked at a previous job where we weren’t allowed to use DoEvents at all.

    In both cases no one can give me an explanation as to why DoEvents is bad. I use them inside of loops, standard EXE apps, to prevent the app from appearing locked up. I have never witnessed any adverse behavior from the DoEvents function.

    Does anyone know of any concrete reason why VB 6’s DoEvents should NOT be used?
    Last edited by DinoVaught; June 5th, 2003 at 04:19 PM.

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

Featured