Click here to Skip to main content
12,241,949 members (39,444 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Stats

26.3K views
11 bookmarked
Posted

Convert a file path to a UNC Path

, 17 Feb 2011 CPOL
A simple function used to determine if a file path refers to a network drive and if it does convert it to use the UNC path

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

20 Feb 2011
Prerak Patel
Here is an API way using WNetGetUniversalNameImports System.Runtime.InteropServices _ Private Shared Function GetUName(ByVal Path As String, ByVal outName As Integer, ByVal bObj As...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

TomQuinn
Software Developer
United Kingdom United Kingdom
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 17 Feb 2011
Article Copyright 2011 by TomQuinn
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid