|
-
Apr 26th, 2004, 10:33 PM
#1
Thread Starter
Lively Member
Kill File
Hi everyone in vb land!
Hey so I have this code the erases files on a floppy. The problem is when I use this kill file code and the floppy is empty I get an error message “File not found”. Does anyone know how to trap this error or see if the floppy is empty first?
Code: Private Sub Command1_Click()
Kill “A:\*.t”
End Sub
Thanks for any help
reston
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|