Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Checking text file I get "Not Responding"

4 views
Skip to first unread message

Basil Fenix

unread,
Mar 15, 2005, 2:54:32 PM3/15/05
to
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


Vince Morgan

unread,
Mar 15, 2005, 8:35:24 PM3/15/05
to

"Basil Fenix" <ba...@iafrica.com> wrote in message
news:Jp6dnZUp6Nb...@is.co.za...

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

Basil Fenix

unread,
Mar 16, 2005, 5:31:23 AM3/16/05
to
Thanks working like a dream.Cannot beleive I am so stupid.
Thanks again
Basil
"Vince Morgan" <vin...@NOSPAMoptusnet.com.au> wrote in message
news:42378c21$0$29450$afc3...@news.optusnet.com.au...

Steve Gerrard

unread,
Mar 16, 2005, 9:26:34 PM3/16/05
to

"Basil Fenix" <ba...@iafrica.com> wrote in message
news:t4adnehL-b2...@is.co.za...

> Thanks working like a dream.Cannot beleive I am so stupid.
> Thanks again
> Basil

Not so. Stupid would be not asking...

Vince Morgan

unread,
Mar 16, 2005, 9:53:36 PM3/16/05
to

"Basil Fenix" <ba...@iafrica.com> wrote in message
news:t4adnehL-b2...@is.co.za...

> Thanks working like a dream.Cannot beleive I am so stupid.
> Thanks again
> Basil

Your welcome Basil.
Don't worry, if I hadn't done the same myself at some
point I probably wouldn't have recognised the prob. We
all make mistakes like that from time to time ;)
Regards,
Vince Morgan


Michael Warner

unread,
Mar 20, 2005, 6:05:26 AM3/20/05
to
Send me the source to see what you've got
0 new messages