Category Archives: shell

RegNamespace sample up on codeplex

Scott, Jerry, Thayn and I have whipped up a sample of indexing the registry, as well as a shell folder (namespace extension) for viewing it.  It’s great to be able to search the registry via the index and it’s great sample … Continue reading

Posted in shell | Leave a comment

WMI Folder – codeplex project

Well, I’ve put the WMI folder code up on codeplex.  Please remember that this code is very much pre-alpha.  I think that this will be a good way to share the code, allow others to contribute, etc.  If it works … Continue reading

Posted in shell | Leave a comment

Getting a Path from an IDList

Not much to this – but I notice searches for this coming to my blog, so I might as well provide the answer.   Use SHGetPathFromIDList – as long as the pidl is part of the file system, this will … Continue reading

Posted in shell | Leave a comment

WMI Shell Folder GetDisplayNameOf – untangling the flags

So I have a bit of a beef with GetDisplayNameOf – I don’t like the flags.  I understand that when it was created, the flexibility of flags made a ton of sense.  It wasn’t well understood what potentially wildly different uses … Continue reading

Posted in shell | Leave a comment

Moving this weekend… WMI, codeplex

Things are slowing down on a few of my projects right now (this blog being one of them).  We’re getting ready to move into our house this weekend.  It’s funny, despite the huge amount of work that’s required it still … Continue reading

Posted in shell | Leave a comment

Rebuilding the Vista icon cache

I just needed to reset the icon cache (changed an icon in my shell folder) and found that I needed to do these steps: To purge your icon cache: ·         kill explorer ·         in a cmd window go to %USERPROFILE%\AppData\Local ·         attrib … Continue reading

Posted in shell | Leave a comment

WMI Shell Folder (day 4)

Well, I’ve got my PIDL structure (for now – really, I’ve got an awful PIDL that I’m in a hurry to change).  Basically the PIDL is the string representing the unique object.  For now I’m enumerating over a hard-coded query, … Continue reading

Posted in shell | Leave a comment