Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

LMDShellFolder.ChDir takes ages to display disconnected network drives

I am using a form with just LMDShellFolder, LMDShellTree, and LMDShellList. LMDShellFolder.ChDir takes ages to display disconnected network drives in the LMDShellTree/LMDShellList. How can I hide or exclude such drives from the display? Or is there a different approach?

Comments

  • 1 Comment sorted by Votes Date Added
  • edited June 16 Posts: 9Vote Up0Vote Down
    I found no 
    LMDShellFolder1.ShowNetworkFolders := False 
    or 
    LMDShellFolder1.ExcludeDrives ....

    LMDShellFolder1.ExcludeDrives LMS
    LMDShellFolder1.ShowNetworkFolders := LMDShellFolder1.ShowNetworkFolders := 
    LMDShellFolder1.ShowNetworkFolders := False;LMDShellFolder1.ShowNetworkFolders := False;
    LMDShellFolder1.ShowNetworkFolders := False;
Sign In or Register to comment.