this is my problem, i need to look in a particular directory with folder names as dates in this format
08132007
08122007
08112007....
etc
i need to check the directory these folders exist in and look for the folder that matches todays date... i'm new to VB6 and i am unlear on how to do this.
Private Sub Command1_Click()
Dim strLoad As String
Dim strDate As String
strDate = Format(Now, "mmddyyyy")
List1.Clear
strLoad = Dir("d:\*.*")
Do While strLoad > vbNullString
If strDate = strLoad Then 'we have a match
'do something
End If
strLoad = Dir
Loop
End Sub