removedir

 

Remove Directory


Remove Directory

'Replace 'c:\mydir' with the directory you want to remove
'Note: the directory must be empty before it can be deleted
'Insert the following code to your form:

Private Sub Form_Load()
RmDir "c:\mydir"
End Sub