View Single Post
Old Jul 21st, 2006, 8:47 AM   #3
john Wesley
Hobbyist Programmer
 
john Wesley's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 119
Rep Power: 3 john Wesley is on a distinguished road
Send a message via MSN to john Wesley Send a message via Yahoo to john Wesley
Well yes, as you mention there would be a few way's I would imagine. Thanks for bringing the FileSystemWatcher to my attention, as it happens I had started coding a routine to handle this but it is very 'Matchsticky' and 'Glued Together'.

Incase your curious Booooze I shall explain just a little.

I used a DriveListBox with a timer that refreshes every 2 seconds...

Then a ComboBox that grabs the number of drives in the DriveListBox also using a timer ticking slightly after the first...

The third item is a NumericUpDown that grabs the number contained in the ComboBox with a timer that ticks just under a second after timer number 2

If the NumericUpDown Value is ever smaller than the ComboBox Value then it searches the drives listed for the file I am looking for.

I know this is a real cowboy job but i was just playing around last night with a method of how to do this, I know there will be a lot of critisism for this but heyyy I can work with critisism.

Thanks for your info Booooze, I shall see how it pans out tonight with a FileSystemWatcher.
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles..
john Wesley is offline   Reply With Quote