I would like to do a coding to delete the txt.file that i had created before using visual studio..can anyone teach me the coding?thank you.

hueikar
Recommended Answers
Jump to PostHave a look at this link with some sample code Here.
Jump to PostAre you using VB6 or VB.Net?
Jump to PostDownload the sample application Here.
This will load all files explorer style. Now use the code in the link I supplied earlier on to delete a selected file.:)
Jump to Postimports system.io
file.delete("pathtofile.txt")
All 14 Replies
AndreRet
511
Senior Poster

hueikar
AndreRet
511
Senior Poster

hueikar
AndreRet
511
Senior Poster

hueikar
mrclark
0
Light Poster
AndreRet
511
Senior Poster
mrclark
0
Light Poster

hueikar

hueikar
AndreRet
511
Senior Poster

hueikar
AndreRet
commented:
For not giving up on trying until it works.
+4
AndreRet
511
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.