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


Groups > comp.lang.basic.visual.misc > #753

Problem with mapped drives from VB6

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 <spam@ukrm.net>
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 <VA.000038d6.76c3a044@ukrm.net> (permalink)
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

Show key headers only | View raw


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\" & <customername> 
by setting the Dir1.Path = sPath

Then it adds a further folder:
sPath = sPath & "\" & <recordID>
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


Back to comp.lang.basic.visual.misc | Previous | NextNext in thread | Find similar


Thread

Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-08 18:37 +0000
  Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-08 14:59 -0500
    Re: Problem with mapped drives from VB6 Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-02-09 10:16 +0100
      Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-09 09:40 -0500
        Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:03 -0500
          Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:23 -0500
        Re: Problem with mapped drives from VB6 "DaveO" <djo@dial.pipex.com> - 2012-02-09 15:36 +0000
          Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-09 13:52 -0500
            Re: Problem with mapped drives from VB6 "DaveO" <djo@dial.pipex.com> - 2012-02-10 10:49 +0000
              Re: Problem with mapped drives from VB6 GS <gs@somewhere.net> - 2012-02-10 22:00 -0500
  Re: Problem with mapped drives from VB6 Deanna Earley <dee.earley@icode.co.uk> - 2012-02-09 09:56 +0000
    Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 10:08 +0000
      Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 15:14 +0000
  Re: Problem with mapped drives from VB6 "Farnsworth" <nospam@nospam.com> - 2012-02-09 10:32 -0500
    Re: Problem with mapped drives from VB6 R C Nesbit <spam@ukrm.net> - 2012-02-09 18:14 +0000

csiph-web