L
L#
I'm working on a win app that reads and processes each line of an ascii file
until the end of the file. Since the file's 1.6 million lines long, after a
while Windows displays the "Not Responding" although the application's
running fine. Is it possible to add anything that'll stop Windows from
displaying that?
Also, how would I be able to always have control of the form in case I want
to abort the process? Once it starts running, I lose control of the form.
I've heard of being able to use threads but I really didn't understand them.
Thank you.
Start a new thread where the processing is done. Your main application
remains responsive that way. Have a look at the following URL for an
example:
http://www.vbcity.com/forums/faq.asp?fid=31&cat=Threading