PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Extract icon from file
Extract icon from file
Iniciado por guest, 09,dic. 2015 17:21 - 3 respuestas
Publicado el 09,diciembre 2015 - 17:21
Hi,

Does anybody know how to extract/get an icon from a file and/or a map, like Windows Explorer shows the icons?

Regards,
Peter
Publicado el 10,diciembre 2015 - 12:40
Hi,

Windows uses a database of pre-saved icons, located in a file called IconCache.db.

Talking about windev,I think that there is not an easy way to do it. You will have to use the corresponding ActiveX to open the file and then save a small image. There are some windev functions that allow this. Please take a look at dCopyBlt and dSaveImageJPEG (I think that there is not possible to save in .ico format).

Regards,

Bruno
Miembro registrado
31 mensajes
Publicado el 10,diciembre 2015 - 19:43
This might help: http://www.nirsoft.net/utils/iconsext.html
I have used several of their utilities over the years.
Garry

--
Garry