Solved

Change the Folder Icon in C#

Posted on 2013-01-17
4
1,958 Views
Last Modified: 2013-12-03
Hey Experts,

I am looking at programmatic options to create a folder and  change the folder icon in C#.

Everything I can find online mentions the use of a desktop.ini system file within the folder.

HOWEVER - In Windows 7 or Windows 8 when I make system and hidden files visible, I don't see any desktop.ini files in folders with custom icons.

So I know there is a way to do it without the desktop.ini file - perhaps with the registry or something?

For instance, Google Drive and Dropbox have different icons - and they are customized with different icons for large and small icon views.

Any help on how they did this would be awesome. Are they just using icon overlays? That seems like a waste of

Thanks!

-Jeff
0
Comment
Question by:jeffiepoo
  • 2
  • 2
4 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 38788214
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38788219
0
 
LVL 6

Author Comment

by:jeffiepoo
ID: 38845611
that first one may help, the second one mentions desktop.ini. I need some time to try this out.
0
 
LVL 6

Author Comment

by:jeffiepoo
ID: 39085248
I need more time on this.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Greetings C# program 17 105
Simple Injector with Web Service 4 39
open System.IO.Compression.ZipArchiveEntry as ZipFile without storing to file 2 56
SqlDataBase 7 46
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question