Since corresponding by email doesn't do any good to anyone else, I will post some sample code to retrieve a file's extended properties:
Dim arrHeaders(35)
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Folder")
For i = 0 to 34
arrHeaders(i) = objFolder.GetDetailsOf(objFolder.Items, i)
Next
For Each strFileName in objFolder.Items
For i = 0 to 34
Wscript.Echo i & vbtab & arrHeaders(i) _
& ": " & objFolder.GetDetailsOf(strFileName, i)
Next
Next
The example enumerates every file in a folder and displays each of the 35 properties available:
| 0 | Name |
| 1 | Size |
| 2 | Type |
| 3 | Date Modified |
| 4 | Date Created |
| 5 | Date Accessed |
| 6 | Attributes |
| 7 | Status |
| 8 | Owner |
| 9 | Author |
| 10 | Title |
| 11 | Subject |
| 12 | Category |
| 13 | Pages |
| 14 | Comments |
| 15 | Copyright |
| 16 | Artist |
| 17 | Album Title |
| 18 | Year |
| 19 | Track Number |
| 20 | Genre |
| 21 | Duration |
| 22 | Bit Rate |
| 23 | Protected |
| 24 | Camera Model |
| 25 | Date Picture Taken |
| 26 | Dimensions |
| 27 | Not used |
| 28 | Not used |
| 29 | Not used |
| 30 | Company |
| 31 | Description |
| 32 | File Version |
| 33 | Product Name |
| 34 | Product Version |
If anyone needs help understanding this, let me know,
Steve