How to display files icon?

Hello,
How to add the corresponding files icon?

For Each file As FolderItem In files
  Try
    Me.AddRowAt(Me.RowCount, file.Name)
    Me.RowTagAt(Me.LastAddedRowIndex) = file
    Me.cellTextAt(Me.LastAddedRowIndex, 1) = file.Length.ToString +" o" //Size
    
  Catch error As IOException
    If error.ErrorNumber <> 0 Then
    end
  End Try
Next

Thanks

Are you asking how to get the icons themselves? or are you asking how to add them to the listbox?

On macOS: Use Quick Look to Retrieve FolderItem Icons – Xojo Programming Blog