UNC path problems

agehoops

Registered User.
Local time
Today, 02:55
Joined
Feb 11, 2006
Messages
351
Trying to return the UNC path of a file rather than the local. It works if I go through my network places which isn't a problem, but I want it to return the UNC path when the file is stored on the local computer.

I have searched the forum extensively and found various responses, none of which are what i'm looking for or I can get to work, and all the results i've found on google are the same or are for another language.

Please help!

Thanks
 
Why do you need to refer to the local computer that way?
 
Well the system is being run across a network, and in the main form there is a picture for each member of staff, and the ability to add a picture. And if the picture added is stored on the local computer, then for every other user on another computer that accesses the system, that picture won't exist, unless the address is stored as a UNC path
 
If you have a network setup correctly then other users won't have access to those local computers anyway. The pictures SHOULD be stored on a network share and not on individual computers. Then the links can be to a network location where everyone will have access.
 
yea but this is only a small P2P network with about 4 computers attatched, and no server, so each machine does have access to their local stores, and seeing as 2 of the machines are admin computers they need access.
 

Users who are viewing this thread

Back
Top Bottom