|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
FindFirstFile/FindNextFile - fastest alternative?If you're trying to create a fast file find function that will work in
both XP-32 and XP-64, what method would you use? Are you handling one file at a time or will a collection of files be
sufficient. If it's one at a time, take a look at the VB legacy "dir" statement and function. If a collection will suffice, take a look at the system.io.directory namespace. Mike Ober. Show quoteHide quote "technodwebe" <google-groups.20.technodw***@xoxy.net> wrote in message news:1160173149.056887.170320@i3g2000cwc.googlegroups.com... > If you're trying to create a fast file find function that will work in > both XP-32 and XP-64, what method would you use? > > "technodwebe" <google-groups.20.technodw***@xoxy.net> schrieb: Depending on the exact situation I'd recursively call > If you're trying to create a fast file find function that will work in > both XP-32 and XP-64, what method would you use? 'System.IO.Directory.GetFiles'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Thanks! That worked really well. It's a lot slower than the API, but
you use whatcha got :) Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "technodwebe" <google-groups.20.technodw***@xoxy.net> schrieb: > > If you're trying to create a fast file find function that will work in > > both XP-32 and XP-64, what method would you use? > > Depending on the exact situation I'd recursively call > 'System.IO.Directory.GetFiles'. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Read legacy vb5 files with variant declare in vb.net
Running an Access macro from a VB.NETprogram need help on optional arg Overlapping controls How to determen the object ? WEB combobox won't fire event clicking on a DataGridView's DataSource property throws exception in designer Set Focus to textbox on tab control Redrawing on GDI+ NullReferenceException with shared members |
|||||||||||||||||||||||