How could you check to see if there is anything inside of a folder? Thanks
You can use the Dir$() function. Here is a simplistic approach (will test for ANY type of file; ie .txt, .jpg etc) VB Code: Option Explicit Private Sub Form_Load() If Dir$("C:\WINNT\*.*", vbNormal) <> "" Then MsgBox "Folder is not empty" End Sub Bruce.
Option Explicit Private Sub Form_Load() If Dir$("C:\WINNT\*.*", vbNormal) <> "" Then MsgBox "Folder is not empty" End Sub
Forum Rules