Solved

Problem using showUI in My.computer.Network.DownloadFile

Posted on 2008-10-01
3
757 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
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now