I have the same problem as mslacat2363 (September 2019)
I can attach a file to my data (actually, just the file link, the original file remains on disk).
My program needs to know what type of file it is.
It uses:
E = String(260, Chr(0))
i = FindExecutable(sFilePath, vbNullString, E)
If i > 32 Then GetFileAssociation = Left(E, InStr(E, Chr(0)) - 1)
to find the default executable. Which works prior to Windows 10, and tells me Acroread, Word, etc. But if I try it for a 'jpg' it returns empty.
Is there a special way for Windows 10 to return something so I know that it's a picture?