I'm using a TStShellTreeView from Shellshock in D6 to let the user select a
folder to load a file from. This works fine except when the user selects a
folder directly under 'My Network Places'. The reason it goes wrong is that
the path returned is
c:\documents and settings\Username\NetHood\e on Paul's Desktop (L3s2i7)
which I can't use as a path to procedures like fileexists, etc. If I had
selected a folder underneath this, I get a totally different style of path
returned:
\\L3s2i7\e\Docs
which works fine as expected.
How can I convert the first path into the form of the 2nd? I have tried
various shell treeview components and they all seem to do the same thing.
Any help much appreciated.
Paul
folder to load a file from. This works fine except when the user selects a
folder directly under 'My Network Places'. The reason it goes wrong is that
the path returned is
c:\documents and settings\Username\NetHood\e on Paul's Desktop (L3s2i7)
which I can't use as a path to procedures like fileexists, etc. If I had
selected a folder underneath this, I get a totally different style of path
returned:
\\L3s2i7\e\Docs
which works fine as expected.
How can I convert the first path into the form of the 2nd? I have tried
various shell treeview components and they all seem to do the same thing.
Any help much appreciated.
Paul