File.Delete
Imports System.IO Public Class Tester Public Shared Sub Main Dim f As File f.Delete("test.txt") End Sub End Class