sirbounty
asked on
background scanning
Basing off the code here:
https://www.experts-exchange.com/questions/22479449/List-files-and-folders-vb-net.html#18815875
I'm looking to code a button press that would launch a background scan of a remote share.
I might notify the user that it is initiated, but would like it to run completely in the background, allowing the user to continue using the main form for other tasks.
Bear in mind that the user could initiate multiple instances of these scans.
I have an additional form, that I'd like to display the results in - I dropped a listview on there, but could easily change it to whatever is more suitable.
I'd like a brief summary composed of the following:
Total # of files found.
# of files that match .xyz pattern (more specifically MP3, WMA, and potentially others - would probably load a 'request list' into the config file or something)
# of files that match a certain date age. Perhaps for created/modified properties. Thinking something like "# of files not modified in > 1 year" (creation probably isn't as important as modified here).
I'm not sure of the processing time for something like this - so I don't know if it's feasible or not. Some shares could be quite large (which is why I wanted it to run in the background). I thought the 2nd form instance(s) could display in the title "results for " & the share name.
https://www.experts-exchange.com/questions/22479449/List-files-and-folders-vb-net.html#18815875
I'm looking to code a button press that would launch a background scan of a remote share.
I might notify the user that it is initiated, but would like it to run completely in the background, allowing the user to continue using the main form for other tasks.
Bear in mind that the user could initiate multiple instances of these scans.
I have an additional form, that I'd like to display the results in - I dropped a listview on there, but could easily change it to whatever is more suitable.
I'd like a brief summary composed of the following:
Total # of files found.
# of files that match .xyz pattern (more specifically MP3, WMA, and potentially others - would probably load a 'request list' into the config file or something)
# of files that match a certain date age. Perhaps for created/modified properties. Thinking something like "# of files not modified in > 1 year" (creation probably isn't as important as modified here).
I'm not sure of the processing time for something like this - so I don't know if it's feasible or not. Some shares could be quite large (which is why I wanted it to run in the background). I thought the 2nd form instance(s) could display in the title "results for " & the share name.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The only interesting snag may be if the share becomes unaccessible during the 'process'.