Hi there,
You may want to look at my file object that I have created some time
back,
http://members.lycos.co.uk/nickpatemanpwp/soft-libx.htm
This gathers files to specification, and it really simplifies the whole
process. The object raises two events for custom yielding,
Public Event processCycleCom plete(ByVal iEllapsed As Integer)
Public Event processSubCycle Complete(ByVal iEllapsed As Integer)
Just place an application.doe vents in the ones you want to yield in, or
yield in both to prevent any locking up. I a *slightly* newer version of
this class all of the time, it really does help to interact with the file
system allot easier. I hope this helps.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"Kalyani Vezzu" <ka***********@ hotmail.com> wrote in message
news:10******** *************** *****@phx.gbl.. .
Hello all,
I tried to write a program to search files in the
given directory in Vb .net using directoryinfo object in
a recursive function without multithreading. When the
directory contains thousands and thousands of files my
application remains in 'not responding' state without any
further progress. I need to track this situation
programatically . In otherwords is there any way in
VB .net to get the status of an application when it is
running? Hope my question is clear and I'll get the
answer from any of you.
Thanks,
Kalyani.