|
-
Jun 1st, 2007, 05:43 PM
#1
Thread Starter
Junior Member
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, .]
-
Jun 1st, 2007, 06:30 PM
#2
Addicted Member
Re: Downloader, Installer, Updater
-
Jun 1st, 2007, 06:51 PM
#3
Thread Starter
Junior Member
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
-
Jun 1st, 2007, 07:05 PM
#4
Addicted Member
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
-
Jun 1st, 2007, 11:50 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|