Salat Posted March 15, 2003 Posted March 15, 2003 I'm trying to get the icon from, exe file. I use code, which searches the registry to find specified file type and then return the icon ("DefaultIcon"). It return a string looks like this "C:\program files\mozilla,0" Is it possible to get the icon form exe file? thx for help... Quote profesjonalne programowanie na zlecenie :)
*Gurus* divil Posted March 15, 2003 *Gurus* Posted March 15, 2003 Check out VolteFace's sample code here. It should do what you need, get the displayed icon from any file path. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Salat Posted March 16, 2003 Author Posted March 16, 2003 thx I found it before, but there is a little error in this code (or maybe I did it?). Now it works great, thanks ageain. :) Quote profesjonalne programowanie na zlecenie :)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.