Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: R C Nesbit Newsgroups: comp.lang.basic.visual.misc Subject: Problem with mapped drives from VB6 Date: Wed, 08 Feb 2012 18:37:12 -0000 Organization: SpamTrap Lines: 43 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net isx0cDlFokzkZbXmzS+C9gTUR/P5nUe2EtozPMUGPlKEcp84AR Cancel-Lock: sha1:2rBKO181zyUPY7A6TK2dFmDPxjY= X-Newsreader: Virtual Access Open Source http://www.virtual-access.org/ Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:753 I have an application which needs to display a directory tree and an adjacent file list box. The form contains a DirListBox and a FileListBox. The application resides in a mapped drive on a Win2008 SBS machine. When a new customer record is created the application checks to see if there is a directory (it cleans up the customer name first, removing illegal character) sPath = app.path & "\AppDocs\" & by setting the Dir1.Path = sPath Then it adds a further folder: sPath = sPath & "\" & Dir1.Path = sPath with an error handler: if Err = 76 then MkDir sPath Resume end if This works perfectly on this machine. It works perfectly if run directly on the server (via a remote terminal window) When run from a workstation it crashes with "Error 75 Path/File Access Error" All users have full read-write privileges on the mapped drive. Any clues? -- Rob Pearson