Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8843817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:19:44+00:00 2026-06-14T11:19:44+00:00

I have had a bug report from a client. My program uses the Delphi

  • 0

I have had a bug report from a client. My program uses the Delphi select directory function to allow him to choose a few directories used by the program, which are allowed to be on a network drive. Here’s the relevant extract from the bug report:

When trying to change the directory the network drives were not shown in the dialog. When opening “Computer” in the browse menu only local drives were shown. The roundabout solution is to leave the dialog open, disconnect the network drive, and re-connect the network drive. It then appears in the dialog. When changing the next folder location it must be done all over again. I found out that the main technician has been doing this frequently as it seems to reset.

At first I thought that this must be Windows not picking up the directories, so I asked him to check that the network location on both computers (the client and the one with the network drive) was set to Work, to check that the drive was mapped on the client, to check that network discovery was turned on, and to check that he could see the drives OK in Explorer. He did, but the bug persists.

I’ve not turned up anything on google or in QC reports concerning this, the documentation for SelectDirExtOpts seems to suggest that network drives should ‘just work’.

So my question: has anyone encountered anything resembling this before? Is it likely to be a Windows issue, or is it Delphi?

Many thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:19:45+00:00Added an answer on June 14, 2026 at 11:19 am

    As long as you include that sdShowShares flag it should indeed just work.

    If you look at the source of the SelectDirectory function you’ll see that it isn’t much more than setting things up for SHBrowseForFolder and reading the results.

    SHBrowseForFolder is a Windows Shell API function:

    function SHBrowseForFolder; external shell32 name 'SHBrowseForFolderW';
    

    Delphi must interpreting the results it gets back from SHBrowseForFolder correctly, as the drives are shown correctly after reconnecting them. So I’d say it is a Windows problem on the client’s machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We had a strange bug report from a user who has iOS 4.2.1 on
I have had Delphi 2007 for a while. I tried the Delphi 2009 trial.
I once had a bug where the xib still have a reference to a
I found a bug in code (the if statement should have had == instad
I have had a customer contact me about a bug in my application which
I have had a bug recently that only manifested itself when the library was
I have had an online archive service for over a year now. Unfortunately, I
I have had to compile my app for the 4.0 sdk to run on
I have had a persistent problem with Visual Studio 2010 and any framework version
I have had this problem crop up a few times and I can't figure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.