I want to write a program that using winsock to connect two computer together.
The server side can browser the client side hard disk.
At the moment, i can list out all the files in listbox.
My question is
I would like to know how to add icon next to all the file name.
For example: data in list box
no necessary to use list box..
i want to display folder icon, text file icon, word icon and html icon next to those name.
as long as my windows can open those file, then my program will display its icon.
it is same as windows explorer.
please provide me the coding, thanks.