Answered Getting Address of a Mapped Network Drive

KasperC

Member
Joined
Mar 28, 2010
Messages
8
Programming Experience
3-5
Hello everybody, my first question on this board. I'm creating a media player(Like so many others). I try playing files over my network. When I pass this address "M:\songs\some artist\some song.mp3" to the windows media player control it actually opens "\\Server\MEDIA\some artist\some song.mp3". But when my program checks if it is playing the correct song it thinks it is not, because the strings aren't equal.
Is there a way in VB to get the network address of a mapped network drive? I can already see that it is a network drive but not wich address it points to.

Thanks for your time.
 
Last edited:
Back
Top