Public Class Tester Declare Auto Function MoveFile Lib "KERNEL32.dll" Alias "MoveFile" (ByVal src As String, ByVal dst As String) As Boolean Public Shared Sub Main MoveFile("d:\\test.txt", "c:\\test.txt") End Sub End Class