Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

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

From "David E. Ross" <nobody@nowhere.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-16 08:54 -0800
Organization I am @ David at rossde dot com.
Message-ID <10hs2sg$2t8it$1@dont-email.me> (permalink)
References <10hrc4h$2iqoi$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


On 12/16/2025 2:26 AM, R.Wieser wrote:
> Hello all,
> 
> XPsp3
> 
> I have the need to select a file, and found "BrowseFolFolder" should be able 
> to do it.
> 
> The problem is that no matter the path or the file selected, all I get is a 
> "The system cannot find the file specified" error.
> 
> The stripped-down example :
> 
> - - - - - - - - - - - - - -
> Set shell = CreateObject("Shell.Application")
> call shell.BrowseForFolder(0, "Choose a file:", &H4000, "c:\")
> - - - - - - - - - - - - - -
> 
> I do not see what might be going wrong here.  Help ?
> 
> Regards,
> Rudy Wieser

Creating your own script is like creating the wheel when it already
exists.  Instead, try the Everything application from
<https://www.voidtools.com/>.

-- 

David E. Ross
<http:www.rossde.com>

Some Republican officials have denounced the assassination
of Charlie Kirk as a conspiracy by liberal Democrats.  Why
then is the attempted kidnapping of the Democrat governor
of Michigan, the shooting of a Democrat state senator of
Minnesota, and the assassination of the Democrat speaker
of the Minnesota state assembly not denounced as a
conservative Republican conspiracy?

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