dcsimg
Results 1 to 2 of 2

Thread: When form loses focus, 'Not responding' occurs

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2012
    Posts
    10

    When form loses focus, 'Not responding' occurs

    I have a VB6 program with a simple form.. 3 text boxes, 3 captions, and a progress bar. The code behind is matching a few variables from an ADO database.

    If I click on anything while it is running, the form 'grays' out, I get a Title bar of '(Not responding)'. If I pause the program, it has been running still. I just can't get the form to constantly show that progress. What am I missing here?

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,423

    Re: When form loses focus, 'Not responding' occurs

    Quote Originally Posted by VermontSteve View Post
    What am I missing here?
    You're missing a Call to DoEvents inside the loop.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width