Prev: ListView + LVN_HOTTRACK
Next: CPU load by thread
From: Robert on 28 Mar 2010 13:57 HI , I would like to create a mini application that could point at a folder and then obtain the file properties for each file type within the folder. E.g. I would like to get the name of a jpg or bitmap for instance along with the date created and modified. The results then being added to a list and eventually sent to an excel file. The bit I am not sure how to do would be the reading of the files and maybe the best way to point at the folder. Any ideas would be really, helpful;, Thanks Robert
From: ScottMcP [MVP] on 28 Mar 2010 16:06 On Mar 28, 1:57 pm, Robert <watkins...(a)hotmail.com> wrote: > HI , I would like to create a mini application that could point at a > folder and then obtain the file properties for each file type within > the folder. E.g. I would like to get the name of a jpg or bitmap for > instance along with the date created and modified. The results then > being added to a list and eventually sent to an excel file. > > The bit I am not sure how to do would be the reading of the files and > maybe the best way to point at the folder. > > Any ideas would be really, helpful;, > > Thanks > > Robert SHBrowseForFolder shows the standard dialog to let user select a folder. FindFirstFile & FindNextFile get the file names and file times.
From: Jonathan de Boyne Pollard on 28 Mar 2010 18:20 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <blockquote cite="mid:31a278d0-6349-480f-a424-f913c9debbae(a)l25g2000yqd.googlegroups.com" type="cite"> <p wrap="">E.g. I would like to get the name[s] of [each] jpg or bitmap for instance along with the date created and modified. <br> </p> </blockquote> <p><a href="http://msdn.microsoft.com/en-us/library/aa364419%28VS.85%29.aspx">FindFirstFileEx()</a> is your friend.</p> </body> </html>
|
Pages: 1 Prev: ListView + LVN_HOTTRACK Next: CPU load by thread |