Non ho mai provato questa incompatibilità però potresti intervenire tu dove il sistema restituisce l'errore utilizzando una funzione che corregge l'errore
:
codice:
Private Function PathOK(ByVal Path As String)
Dim PosCar1 As Long
Dim PosCar2 As Long
PosCar1 = InStr(1&, Path, "\")
Do Until PosCar1 <> 1 'Elimina eventuali "\" iniziali
Path = Mid(Path, 2&)
PosCar1 = InStr(1&, Path, "\")
Loop
Do Until (PosCar1 = 0&) 'Elimina i doppi "\"
PosCar2 = PosCar1
PosCar1 = InStr(PosCar1 + 1&, Path, "\")
If PosCar1 = (PosCar2 + 1&) Then
Path = Mid(Path, 1&, PosCar2) & Mid(Path, (PosCar1 + 1&))
End If
Loop
PathOK = Path
End Function