![]() |
|
VB.Net | How to download a file silently - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework) +--- Thread: VB.Net | How to download a file silently (/Thread-VB-Net-How-to-download-a-file-silently) |
VB.Net | How to download a file silently - Sunlight - 04-27-2013 In this tutorial I will show you how to download a file silently. That means your not going to use process.start("LINK") because that will open a a new page. So go to your code and go on the very top of your code and import this code: Code: Imports System.IO
Imports System.NetThen add a button to your form and double click it and add this code: Code: My.Computer.Network.DownloadFile(Download Link Here", Application.StartupFolder)Pretty easy code. I wrote this my self, no C+P was involved like Hyphen. |