Solved

Problem using showUI in My.computer.Network.DownloadFile

Posted on 2008-10-01
3
820 Views
Last Modified: 2012-05-05
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

0
Comment
Question by:straubtm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
ID: 22621775
hoping you are not on a wireless network. check this out:
http://en.allexperts.com/q/VB-NET-3306/Computer-Network-DownloadFile-hangs.htm
try making the showui as false, if it works. try lessening the timeout as well. :-)
0
 
LVL 1

Author Comment

by:straubtm
ID: 22629851
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
0
 
LVL 13

Expert Comment

by:SameerJagdale
ID: 22631289
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
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question