Results 1 to 5 of 5

Thread: Downloader, Installer, Updater

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2006
    Posts
    18

    Downloader, Installer, Updater

    Hello, Is it possible to use a manual updater or installer to download ocxi , which i use for vb projects . i dont want the ocx to download like ocx winsock over http , i want it to download from the program manual [like updater, installer, inet, .]

  2. #2
    Addicted Member cxj98's Avatar
    Join Date
    Feb 2007
    Posts
    170

    Re: Downloader, Installer, Updater

    What??

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2006
    Posts
    18

    Re: Downloader, Installer, Updater

    Is it possible to use a manual updater or installer to download ocx , which i use for vb projects . i dont want to download ocx over http , i want to download ocx manual with a program

  4. #4
    Addicted Member cxj98's Avatar
    Join Date
    Feb 2007
    Posts
    170

    Re: Downloader, Installer, Updater

    I don't know as much more, hope this code can help you!

    Code:
    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
    Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
       Dim lngRetVal As Long
       lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
       If lngRetVal = 0 Then DownloadFile = True
    End Function
    Private Sub Form_Load()
      DownloadFile "http://www.chinavb.net/upload/qqskin.rar", "c:\qqskin_downok.rar"
    End Sub

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Downloader, Installer, Updater

    Sure Inno Setup can download files if you use the third party apps. It can download them at installation time. I can't see how this would help an app if you should include it in your setup in the first place you would not need to even download the ocx.

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