[C#] Download a File and Execute Immediately Using WebClient Control

preview_player
Показать описание
In this tutorial I am teaching you how to download a file using the WebClient control and then executing it immediately. The progressbar is also put into effect here. This is C#.

- AssWh00ping101
Рекомендации по теме
Комментарии
Автор

YOU'RE Thank you so much for this. This was exactly what i was looking for :) Thank you so much for taking the time to do this tutorial. :)


xxxxxphilipxxxxx
Автор

ProgressPercentage always returning 0 and jumps to 100 when download finished, TotalBytesToDownload always returning -1

cfactorygames
Автор

pls help i get error and says it cant find the path

ItachiUchiha-oqsv
Автор

also you should reset the progressbar in the download complete event

SuncoastSoftware
Автор

Excellent code! Thank you so much.   However, it doesn't take into a consideration a case were download started but then was interrupted (ex. Internet connection lost). The progressbar just hangs, and the form is not doing anything.  Can you post a code that would fix that problem?  Thanks

aroniphraimov
Автор

How to make single files to the end? My question after finishing the project as a single file you can run it on another PC without having to need other dll files?

papysv
Автор

What if I wan to download other files? Like files from media fire .exe?

MrTNPT
Автор

Visual C# 2010 is better...
I know that when you uploaded that it was 29 Jul 2010...It was probably out then...

dslink
Автор

you are creating event handlers...not instances! just saying....

SuncoastSoftware