Hi Benoit I want to show an image associated fileview file icon "* .desktop" DesktopMime.FromFile understand how it works, use that code to the menu "open with"
For Each df In DesktopFile.FromMime (DesktopMime.FromFile (sPath) .Type) Inc i Item_Menu_Link = New Menu (mnuOpenwith) As "Items" Item_Menu_Link.text = df.ProgramName Item_Menu_Link.Picture = df.GetIcon (16) .Picture Item_Menu_Link.Tag = i Next But I can not make it work with fileview, I use the class of Fabien, but i have trouble (Copy, Paste, Delete, Rename over a file). To display the contents of my Desktop unify With Class_FileView Class_DesktopApps (created by Fabien) to make it more attractive for the user. Questions? FileView can show the icons ("PNG") related of one file ".desktop", and Run attached example DEMO Regards Herberth Guzman
test_desktop-0.0.1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user