Results 1 to 6 of 6

Thread: Alternative to DoEvents?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    26

    Question Alternative to DoEvents?

    Is there a good alternative to using DoEvents in order to stop the application from going into 'Not Responding' mode during long processes, allowing labels etc to update with progress, and allowing user to cancel process?

    Cheers,
    Lithic

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Re: Alternative to DoEvents?

    Yes, break your long processes up into smaller ones and do them one at time, updating your progress bars in between.
    This world is not my home. I'm just passing through.

  3. #3

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Alternative to DoEvents?

    Quote Originally Posted by Lithic
    Is there a good alternative to using DoEvents in order to stop the application from going into 'Not Responding' mode during long processes, allowing labels etc to update with progress, and allowing user to cancel process?

    Cheers,
    Lithic
    http://www.vbforums.com/showthread.php?t=315416
    http://www.vbforums.com/showthread.php?t=285335

    They should be what your looking for

    Pino

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    26

    Resolved Re: Alternative to DoEvents?

    Great! Thanks for that link.

    What's wrong with DoEvents?
    Nothing I guess...I thought that veterans didn't like them...

  6. #6
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Alternative to DoEvents?

    Hey I remember this link. I wrote it

    http://www.vbforums.com/showthread.php?t=315416

    Good memory Pino

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