|
||||
|
URL Download to File (Free) By Richard Rost 3 years ago This code will download a file from the web at whatever URL you specify and save it as a file on your hard drive. Typically used for images (PNG, JPG, etc.) but you can use it for ZIP files or whatever you choose. Place in global module. Source
UsagePlace an image control on a form and set its control source to either of these. The first option would be if you had the location of the image URL in a field called WebAddress. The second one is to hard-code the URL in the function.
Another ExampleThis will download a 200x200 QR code saying "599cd.com" from Google Charts and save it as C:\QRCode.PNG
Video
See Also
|
||||||||||||||
| |||
Keywords: code vault access urldownloadtofile download file from web download qr code from google charts download a file PermaLink URL Download to File (Free) |