ElectricalStorm
New member
- Joined
- Oct 14, 2009
- Messages
- 2
- Programming Experience
- 3-5
Hi all,
How can I clear an existing folder with vb.net? I already searched the internet, but the code I found only deleted the files and left the subfolders in place. Of course I could delete the folder and immediately recreate it, but in a next stage I want to delete specific files (for instance: .lng files) and leave the other files alone.
Perhaps those will be two totally different functions… I recently stopped good old vb6 and the above actions could be done with two look alike functions.
Thanks in advance,
Chris
How can I clear an existing folder with vb.net? I already searched the internet, but the code I found only deleted the files and left the subfolders in place. Of course I could delete the folder and immediately recreate it, but in a next stage I want to delete specific files (for instance: .lng files) and leave the other files alone.
Perhaps those will be two totally different functions… I recently stopped good old vb6 and the above actions could be done with two look alike functions.
Thanks in advance,
Chris