Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.lang.vbscript > #54

Re: Problem : BrowseForFolder returns "The system cannot find the file specified"

From "R.Wieser" <address@is.invalid>
Newsgroups alt.comp.lang.vbscript, alt.comp.os.windows-xp, alt.windows7.general
Subject Re: Problem : BrowseForFolder returns "The system cannot find the file specified"
Date 2025-12-17 07:17 +0100
Organization A noiseless patient Spider
Message-ID <10hthth$39q4i$1@dont-email.me> (permalink)
References <10hrc4h$2iqoi$1@dont-email.me> <18rb99y2mhh3f.10df7owzbm8xp.dlg@40tude.net>

Cross-posted to 3 groups.

Show all headers | View raw


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


Back to alt.comp.lang.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Problem : BrowseForFolder returns "The system cannot find the file specified" "R.Wieser" <address@is.invalid> - 2025-12-16 11:26 +0100
  Re: Problem : BrowseForFolder returns "The system cannot find the file specified" Paul <nospam@needed.invalid> - 2025-12-16 07:53 -0500
    Re: Problem : BrowseForFolder returns "The system cannot find the file specified" "R.Wieser" <address@is.invalid> - 2025-12-16 14:26 +0100
  Re: Problem : BrowseForFolder returns "The system cannot find the file specified" "David E. Ross" <nobody@nowhere.invalid> - 2025-12-16 08:54 -0800
    Re: Problem : BrowseForFolder returns "The system cannot find the file specified" Paul <nospam@needed.invalid> - 2025-12-16 12:05 -0500
    Re: Problem : BrowseForFolder returns "The system cannot find the file specified" "R.Wieser" <address@is.invalid> - 2025-12-16 19:58 +0100
  Re: Problem : BrowseForFolder returns "The system cannot find the file specified" JJ <jj4public@gmail.com> - 2025-12-17 09:15 +0700
    Re: Problem : BrowseForFolder returns "The system cannot find the file specified" "R.Wieser" <address@is.invalid> - 2025-12-17 07:17 +0100
      Re: Problem : BrowseForFolder returns "The system cannot find the file specified" "R.Wieser" <address@is.invalid> - 2025-12-17 09:04 +0100

csiph-web