Date: 02/22/08 (C Sharp) Keywords: no keywords I am trying to open a windows explorer and have it select a file. So for example if my file is c:\temp\a.txt the window would open with the path c:\temp and a.txt would be selected. I can't for the life of me see anything in C# that will allow me to do this. There is a shell call (SHOpenFolderAndSelectItems) which will do it but I know next to nothing about making an interop. If someone can point me to a good refrence on interops or perhaps give me an example of how to call SHOpenFolderAndSelectItems from C# or know of any managed way you would be saving me a lot of frustration.
|