say i have a unc path like \\computer\share\folder
How could i convert that UNC path to reflect the mapped drive path instead?
for example if \\computer\share is mapped to drive D then the path for that folder would be D:\folder
hope it's clear
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!
Re: conerting UNC network path to mapped drive path?
You can also use WMI and list the drive letters using the Win32_LogicalDisk WMI class. Then its a matter of checking the DriveType property in order to find the ones that are "Network Drives"...
Re: conerting UNC network path to mapped drive path?
thanks guys
SEEMS to be the way to do it
only if i could do this in MFC hehe
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!
Re: conerting UNC network path to mapped drive path?
hey kleinma, just a note that you need to convert both paths to lowercase (to ignore case when comparing) and also to make sure both do or don't end with a "\". Otherwise a valid match could be accidentally thrown out thanks for the code
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!