Results 1 to 8 of 8

Thread: { RESOLVED } Download a file...

Threaded View

  1. #1

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695

    Thumbs up { RESOLVED } Download a file...

    Hi,

    I want to download a file through a program which should be like this...

    VB Code:
    1. Option Explicit
    2.  
    3. Dim strURL As String
    4. Dim strSaveLocation As String
    5.  
    6. Private Sub cmdDownload_Click()
    7.     'Can I use it like this...
    8.     strURL = "http://www.xyz.com/shared/1.zip"
    9.     strSaveLocation = "C:\Temp\..."
    10.     Call DownloadFile(strURL, strSaveLocation)
    11.    
    12.     strURL = "http://www.xyz.com/shared/2.zip"
    13.     strSaveLocation = "C:\Temp\..."
    14.     Call DownloadFile(strURL, strSaveLocation)
    15. End Sub
    16.  
    17. Private Sub DownloadFile(URL As String, SaveLocation As String)
    18.     'Need a code for download
    19. End Sub
    what do u think...is this possible...I have no idea what kinda control to use...
    Last edited by wrack; Aug 30th, 2002 at 11:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width