Option ExplicitContoh penggunaan fungsi VB6 di atas:
Public Function MoveAllFiles()
Dim fso As New FileSystemObject
Call fso.MoveFolder(Source, Destination)
Set fso = Nothing
End Function
Private Sub Command1_Click()
Call MoveAllFiles("C:\djview", "D:\djview")
End Sub