UNC vs MAPPED drives

  • Thread starter Thread starter Peter Larsen
  • Start date Start date
P

Peter Larsen

Hi,

How do i convert a mapped drive to an UNC path i .Net 2.0 ??
Is it really necessary to use "WNetGetUniversalName" ??

BR
Peter
 
¤ Hi,
¤
¤ How do i convert a mapped drive to an UNC path i .Net 2.0 ??
¤ Is it really necessary to use "WNetGetUniversalName" ??

Either that or WNetGetConnection or the File System Object.


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Please explain to me what you mean about "File System Object" ??

What i really want to do, is to understand how Explore know that a changes
in a UNC path also should be reflected in others UNC paths, like this:
\\servername\dir is the same as \\companyname\city\dir.

How does Explore knows when the above dirs is the same ??
I have tried to compare pidl's (IShellFolder:CompareIDs), but it doesn't
work.

Thank you in advance.
BR
Peter
 
I think i have found an explanation to how Explore notify about directory
changes (SHCNE_UPDATEDIR).
It seems like the shell remember which directories i have looked in and
notify me if any of those directories has changed.

/Peter
 
Back
Top