Jan 31, 2004 #1 C cdoverlaw Well-known member Joined Oct 11, 2003 Messages 146 How do i delete a file in the programs startup director e.g file is called data1.cde Jonathan
Jan 31, 2004 #2 M mutant Well-known member Joined Jan 19, 2003 Messages 1,771 Location Enfield, CT, USA User Rank *Expert* You can utilize the Delete method of the file class, and the StartupPath property of Appllication object which contains the path of your program. Code: IO.File.Delete(Application.StartupPath & "\filename.ext")
You can utilize the Delete method of the file class, and the StartupPath property of Appllication object which contains the path of your program. Code: IO.File.Delete(Application.StartupPath & "\filename.ext")