Re: Problem : BrowseForFolder returns "The system cannot find the file specified"
"R.Wieser" <[email protected]> Wed, 17 Dec 2025 07:17:15 +0100
| Newsgroups | alt.comp.lang.vbscript,alt.comp.os.windows-xp,alt.windows7.general |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
JJ, > Are you sure the error occurs within that two lines? Yes. And even rather sure it happens in that last line, as its the line the error-mesage reports. > Did the dialog manage to be shown in the first place? Yes. > Did it occur during the file selection while the dialog is shown? No. > Did it occur after pressing the OK button? Yes. > Did BrowseForFolder manage to return at all? I've got no way to tell. I click OK, the dialog disappears and the error message pops up (or gets written to the console), after which the script is aborted. I /assume/ all of that happens in BrowseForFolder method itself, but ofcourse /could/, even if its not likely, be happening afterwards, just before the next line. Regards, Rudy Wieser