R C Nesbit
2012-02-08 18:37:12 UTC
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?
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
Rob Pearson