Home » Community » Coffee corner » select file with windows explorer
select file with windows explorer [message #56986] |
Sat, 08 May 2021 06:10 |
BetoValle
Messages: 203 Registered: September 2020 Location: Brasil Valinhos SP
|
Experienced Member |
|
|
Hi,
it is possible to show a file and put the selection in it, after opening the folder as below (just select a file with the resource below)
ShellOpenFolder("C:\\folderA\\subfolder");
(how to select a file after open folder?)
Thanks
|
|
|
Re: select file with windows explorer [message #56987 is a reply to message #56986] |
Sat, 08 May 2021 16:49 |
BetoValle
Messages: 203 Registered: September 2020 Location: Brasil Valinhos SP
|
Experienced Member |
|
|
Hi, this work windows 10!
load the explorer and select (only) a file
String strArgs = "/select, C:\\FolderA\\subFolder\\file.txt";
ShellExecute(0, "open", "explorer.exe", strArgs, 0, SW_NORMAL);
Thanks
|
|
|
Goto Forum:
Current Time: Fri Sep 20 23:52:17 CEST 2024
Total time taken to generate the page: 0.02931 seconds
|