Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #753
| From | R C Nesbit <spam@ukrm.net> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Problem with mapped drives from VB6 |
| Date | 2012-02-08 18:37 +0000 |
| Organization | SpamTrap |
| Message-ID | <VA.000038d6.76c3a044@ukrm.net> (permalink) |
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 | Next — Next in thread | Find similar
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