Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Vista directory properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Flomo Togba Kwele - 19 Oct 2007 20:13 GMT
In Vista, if I select a directory, right-click and choose Properties, then select the Customize
tab, does the framework expose properties for the following items?

Use this folder type as a template (drop down)

Change Icon (button)

Thanks, Flomo
Signature

--

Walter Wang [MSFT] - 22 Oct 2007 08:01 GMT
Hi Flomo,

Based on my understanding, you asked two questions:

1. How to change the folder type of a folder programmatically
2. How to change a folder's icon programmatically

For your first question, there's no documented or supported way to do this
using code. Sorry for the inconvenience.

For your second question, we can achieve the objective using desktop.ini:

#Customizing Folders with Desktop.ini
http://msdn2.microsoft.com/en-us/library/bb776832.aspx

Here's an example in C#:

#Create Icons for Folders in Windows Explorer, Using C# - The Code Project
- Files and Folders
http://www.codeproject.com/cs/files/foldericonsincsharp.asp?df=100&forumid=1
45059&exp=0&select=1555092

Hope this helps.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.