That will do it but I would obviously need to parse the string. I was hoping I could simply convert.Originally posted by kleinma
why can't u just do
VB Code:
Dim i As Integer For i = 0 To dbox.ListCount Debug.Print dbox.List(i) Next
parse the strings to find the path u need...
VB Code:
Private Declare Function WNetGetConnection Lib "mpr.dll" Alias "WNetGetConnectionA" (ByVal lpszLocalName As String, ByVal lpszRemoteName As String, cbRemoteName As Long) As Long
gets the unc from the drive letter, I can't believe there isn't an api to do the reverse.




Reply With Quote