IO.File.Delete("Path")
I want to make
delete a file. exe. with a button in visual basic
IO.File.Delete("Path")
Or
[highlight=vbnet]
Dim file2delete As New FileInfo("File Path and File")
file2delete.Delete()
[/highlight]
many ways to do it.
thans people!!!
now, i can make my fake haha
Code:Kill("C:\PATH\FILE.exe")
Dim file2delete As New FileInfoo("C:\Users\not the name of the other pc\Documents\Mt2 PANDORA\Mt2Guabina2.exe")
file2delete.Delete()
as would be the right thing?
Yes, Correct.
this thread was solved before, isn't it? Why ppl still post?
The OP asked a question (which he is entitled to do) however your post is just spam.