G
G Dean Blake
the following code has a valid string in Session("ScannedInvoicedDirectory")
which is \\Machine1\c\InvoiceScans. In fact I can put that string into file
explorer and it scans to the directory on the other machine sucessfully.
but rootdi.exists is false. This code used to work. What could be wrong?
Thanks,
G
Dim rootdi As DirectoryInfo = New
DirectoryInfo(Session("ScannedInvoicesDirectory"))
If Not rootdi.Exists Then
lblError.Text = "Scanned Directory" &
Session("ScannedInvoicesDirectory") & "does not exist"
Exit Sub
End If
which is \\Machine1\c\InvoiceScans. In fact I can put that string into file
explorer and it scans to the directory on the other machine sucessfully.
but rootdi.exists is false. This code used to work. What could be wrong?
Thanks,
G
Dim rootdi As DirectoryInfo = New
DirectoryInfo(Session("ScannedInvoicesDirectory"))
If Not rootdi.Exists Then
lblError.Text = "Scanned Directory" &
Session("ScannedInvoicesDirectory") & "does not exist"
Exit Sub
End If