|
-
December 23rd, 2008, 08:07 PM
#1
Vista Explorer.exe problem
this works fine in any version of windows all the way up to XP..
It will not work in vista, is just opens the "users" folder and selects nothing.
Code:
//open and select the file in windows explorer
//more info about this at http://support.microsoft.com/default...;EN-US;q152457
CString sFile = "C:\\test.txt";
CString s;
s.Format("/select,\"%s\"",sFile);
ShellExecute(NULL,_T("Open"),_T("Explorer"),s,NULL,SW_SHOWDEFAULT);
Does anyone know how to make this work in vista?
I have looked through MSDN and found nothing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|