I think you can use SHGetSetFolderCustomSettings( ) API to get and then set
it. Not sure if the Shell object expose method/properties to control this.
ms-help://MS.MSDNQTR.2005JUL.1033/shellcc/platform/shell/reference/functions/shgetsetfoldercustomsettings.htm
HRESULT SHGetSetFolderCustomSettings(
LPSHFOLDERCUSTOMSETTINGS pfcs,
LPCTSTR pszPath,
DWORD dwReadWrite
);
ms-help://MS.MSDNQTR.2005JUL.1033/shellcc/platform/shell/reference/structures/shfoldercustomsettings.htm
typedef struct {
DWORD dwSize;
DWORD dwMask;
SHELLVIEWID *pvid;
LPTSTR pszWebViewTemplate;
DWORD cchWebViewTemplate;
LPTSTR pszWebViewTemplateVersion;
LPTSTR pszInfoTip;
DWORD cchInfoTip;
CLSID *pclsid;
DWORD dwFlags;
LPTSTR pszIconFile;
DWORD cchIconFile;
int iIconIndex;
LPTSTR pszLogo;
DWORD cchLogo;
} SHFOLDERCUSTOMSETTINGS, *LPSHFOLDERCUSTOMSETTINGS;"jeremiah johnson"
<na*******@gmail.com> ???????:eC*************@TK2MSFTNGP02.phx.gbl...
Hi everyone.
I'm going to write an app in C# that changes a folder's custom picture to
some kind of picture that represents how much 'stuff' is inside the
folder...
... as soon as I can figure out how to change this:
http://naikrovek.org/stuff/folderPicture.png
programmatically.
does anyone know how to do this in C#?
Thanks!
jeremiah();