Hi all.
This one should be rather simple but I'll be hanged if I can think of it right now ...:D I need to test if a filename a user imputs exists in a specific directory or not ... That's it. Any ideas on ways to accomplish this? Thanks!
- Mike
Printable View
Hi all.
This one should be rather simple but I'll be hanged if I can think of it right now ...:D I need to test if a filename a user imputs exists in a specific directory or not ... That's it. Any ideas on ways to accomplish this? Thanks!
- Mike
Solved this puppy ...:D A little patience, caffiene, and a quick search found me an answer ...
I do hate answering my own questions ...:DPHP Code:Dim Result As String
Result = Dir(PicturePath & "\" & FileTxt.Value, vbNormal)
If Result = "" Then
MsgBox "File: " & FileTxt.Value & " does not exist!", vbCritical, "System Monitor"
Cancel = 1
End If
- Mike