by Francisco H Tapia (1 Submission)
Category: Complete Applications
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(6 Votes)

This program lets you download an updated version of your .exe programs or other parts of your software from the INTERNET or a Local FILE SERVER. I am using the WinInet.DLL to do the actual file transfers. Special thanks to Blake for inspiring this code. https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=13413&lngWId=1
Inputs
You must adjust the liveu.ini code to reflect the path destination, and fileserver sourcer and/or a URL source
Assumes
You must adjust the liveu.ini code to reflect the path destination, and fileserver sourcer and/or a URL source
Side Effects
My current issue is that I am using the WinInet.dll instead of the traditional INET.ocx because I found that sometimes it doesn' close completely or take a long time and part of the downloaded files can stay in the buffer. By using the WinInet.dll I now suffer no screen updates while the file is downloaded, as I need to maybe class this out to an ActiveX.dll to allow asynchronous processing, maybe in version 2?
API DeclarationsWinInet.DLL for file downloading and checking for an internet connection
Download Live Update (10 KB)