C#: How to use SHOpenFolderAndSelectItems

Posted by Svish on Stack Overflow See other posts from Stack Overflow or by Svish
Published on 2010-06-10T19:59:40Z Indexed on 2010/06/10 20:03 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

Could someone give an example on how to use the shell function SHOpenFolderAndSelectItems from C#? I don't quite get how to use these kind of functions and couldn't find it on pinvoke.net... =/

Say I have three files called

  • X:\Pictures\a.jpg
  • X:\Pictures\s.jpg
  • X:\Pictures\d.jpg

I then want to open up the X:\Pictures folder with a.jpg, s.jpg and d.jpg selected.

© Stack Overflow or respective owner

Related posts about c#

Related posts about files