Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,310 of 10,840    |
|    Basil Fenix to Vince Morgan    |
|    Re: Checking text file I get "Not Respon    |
|    16 Mar 05 12:31:23    |
   
   XPost: alt.comp.lang.vb, microsoft.public.vb   
   From: basil@iafrica.com   
      
   Thanks working like a dream.Cannot beleive I am so stupid.   
   Thanks again   
   Basil   
   "Vince Morgan" wrote in message   
   news:42378c21$0$29450$afc38c87@news.optusnet.com.au...   
   >   
   > "Basil Fenix" wrote in message   
   > news:Jp6dnZUp6NbJo6rfRVn-rg@is.co.za...   
   >> I check data from a text file with a mdb Database using a progressbar and   
   >> changing the Caption by % to indicate to the user what is happening.The   
   > file   
   >> is large and takes quite a while. The problem though is that if the user   
   >> clicks on the form everything freezes and I get "Not Responding". It is   
   >> still doing the check because if you let it continue it finishes running.   
   >> Thanks   
   >> Basil   
   >>   
   >>   
   >   
   > The thread is too busy doing all that file reading etc. Put "DoEvents" at   
   > an   
   > appropriate place in your code. Possibly in the progressbar routine.   
   > That will allow the thread to check for user interaction with the GUI and   
   > to respond to the interactions.   
   > HTH   
   > Vince Morgan   
   >   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca