K
Keith Kowalski
I am trying to get the # of current Files in a specific directory
I can get it fine if the path is simular to "C:\windows", But not if it is a
network path like \\Servername\Directory
How can I do this? Or where can I llok to find this information.
Here is the code I have.................................
Dim oDir As System.IO.Directory
Dim ss As String() = oDir.GetFiles(s2) 's2 = Directory name from
Database
If ss.Length > Trim(s3) Then 's3 = File Count From
DataBase
MsgBox("DSend Mail") 'Display msgbox if Files
in directory are greater than File count number from Databasse
Thanks in advance for your help....
KEith
I can get it fine if the path is simular to "C:\windows", But not if it is a
network path like \\Servername\Directory
How can I do this? Or where can I llok to find this information.
Here is the code I have.................................
Dim oDir As System.IO.Directory
Dim ss As String() = oDir.GetFiles(s2) 's2 = Directory name from
Database
If ss.Length > Trim(s3) Then 's3 = File Count From
DataBase
MsgBox("DSend Mail") 'Display msgbox if Files
in directory are greater than File count number from Databasse
Thanks in advance for your help....
KEith