Results 1 to 2 of 2

Thread: Complete UNC Path

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    INDIA
    Posts
    2

    Red face 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]

  2. #2
    jim mcnamara
    Guest
    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
  •  



Click Here to Expand Forum to Full Width