Hi,
I want to download a file through a program which should be like this...
what do u think...is this possible...I have no idea what kinda control to use...VB Code:
Option Explicit Dim strURL As String Dim strSaveLocation As String Private Sub cmdDownload_Click() 'Can I use it like this... strURL = "http://www.xyz.com/shared/1.zip" strSaveLocation = "C:\Temp\..." Call DownloadFile(strURL, strSaveLocation) strURL = "http://www.xyz.com/shared/2.zip" strSaveLocation = "C:\Temp\..." Call DownloadFile(strURL, strSaveLocation) End Sub Private Sub DownloadFile(URL As String, SaveLocation As String) 'Need a code for download End Sub




Reply With Quote