I am trying to download a .dat file and save it in my computer by using the URLDownloadToFile API...here is the code I have....
VB Code:
Private Sub ListView1_DblClick() On Error GoTo Resolve Dow = URLDownloadToFile(0, "http://www.mysite.com/myfile.dat", "c:\myfile.dat", 0, 0) Resolve: MsgBox "File could not be downloaded", vbInformation End Sub
Please help me.....![]()
![]()




Reply With Quote