|
-
Sep 13th, 2001, 12:42 AM
#1
Thread Starter
New Member
Complete UNC Path
Hi,
I have a filename lets say c:\a.txt. I want to write a function which will return me the complete UNC Path. In this case it could be \\machinename\cdrive\a.txt.
I have managed to do this for shared drives as well as for local drives on a Windows NT machine but not for 95/98 machines.
Can anybody Help
[email protected]
-
Sep 13th, 2001, 08:37 AM
#2
There is a lot of good code for Shell path routines at
www.mvps.org/vbnet
UNfortunately, what you want seems to be spread among several pieces of sample code. On the main page, select 'Search VBNET'; search for 'shell path' - you'll get about 40 returns. You'll need to dig thru several pages to get what you need.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|