LJM89

how do i access XP/Vista folder prooperties so that i can change them. i want to do something like a catalog software to change icons so that they represent importance.

can i also change the folder label like "My Documents" to like Red color


Re: Visual Basic Language Accessing Folder Properties

Riquel Dong šC MSFT

Hi Ljm89,

Based on your post, you need to modify the icon of the folder. Here is one article which introduces a simple class that can be used for assigning an icon to a folder that displays in Windows Explorer. It is the C# example. Please visit here: http://www.codeproject.com/cs/files/foldericonsincsharp.asp . There are basically two steps involved in assigning an icon to a folder:

  • Create a desktop.ini file inside the folder for which to create the icon (the "Target Folder").
  • Set the Target Folder's attribute to "System".

Hope this helps.

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.