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, .]
Printable View
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, .]
What??
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
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
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.