Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract metadata from files like in Win Explorer
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Extract metadata from files like in Win Explorer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01080411
Message ID:
01080411
Views:
59
Hi,

I found code to extract the metadata(Artist, resolution, bitrate, duration) from files but it work for a whole folder and I want to do it for only one file. I have a folder,subfolder with a lot of mp3,mov,wmv and this will take more time. How?

Thank's in advance for you answers.
loShell = CreateObject("Shell.Application")
loFolder = loShell.Namespace("F:\trailers")

For Each lcFileName in loFolder.Items
   FOR t= 0 TO 34
       ? "File name "+STR(t,2)+": "+ loFolder.GetDetailsOf(lcFileName, t)
   ENDFOR 
Next

RETURN
Lead programmer of the free MIS Info Video(Frontend/player), Info 2 MIS or visit me at Steve's Tech Blog
Next
Reply
Map
View

Click here to load this message in the networking platform