Delete a file/folder

Posts 110 of 10 · Page 1 of 1
Delete a file/folder
Hmm , i make a delete program and the person who can answer my question will be credited

Code:
Whats the code for delete a file/folder.

Tried this: FolderBrowserDialog1.SelectedPath.Remove(TextBox1.Text)
IO.File.Delete.
Quote Originally Posted by Blubb1337 View Post
IO.File.Delete.
didnt work...
You need to fill in arguments -.-".
like this? : IO.File.Delete(TextBox1.Text)


If textbox1.Text contains the full path to a file...
Quote Originally Posted by Blubb1337 View Post


If textbox1.Text contains the full path to a file...
yah got that, but i got a open function and the file directory will be directed in the textbox
Simply post your full code...
Quote Originally Posted by Blubb1337 View Post
Simply post your full code...
cant-.- pc fucked up and the whole prog = gone..

/req close sorry blubb..
Hmph, closed on request then.
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?