Jika Anda ingin menggunakan metode Late Binding maka gantilah kode berikut:
Dim Sh as new Shell32.Shell
Menjadi:
Dim Sh as Object
Set Sh = CreateObject("Shell.Application")
Sub Explore(vDir)
Dim sh As New Shell32.Shell
sh.Explore vDir
Set sh = Nothing
End Sub
'Contoh penggunaan
Private Sub Command1_Click()
Call Explore("C:\")
End Sub