Link to home
Start Free TrialLog in
Avatar of straubtm
straubtm

asked on

Problem using showUI in My.computer.Network.DownloadFile

I wish to us My.computer.Network.DownloadFile to download files from the internet because it has a built in UI that shows progress and also has a [Cancel] button.

I am not looking for an alternative method to download as I have otherways already.  I'm simply looking to see if the following attached code can be made to work... Am I doing something wrong?

It flashes the UI and saves a zero byte file.
My.computer.Network.DownloadFile("http://youtube.com/get_video?video_id=VXd-Xhg_gx8&l=87&t=OEgsToPDskL9-WT-JifHhdMToQRMAZmD","C:\Users\Owner\Documents\FLV_Downloads\dog.flv","","",true,180000,true)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of SameerJagdale
SameerJagdale
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of straubtm
straubtm

ASKER

Hi Sameer,
None of the suggestions seems to make a difference.  I suspect it is simply a problem with the way the file is served up in this case..

I am goiing to resort to generating my own UI.
Tim
Hi Tim,
I think youtube might have implemented some sort of security so that its not easy to download the file.
Thanks for the points.
-Sameer