|
-
Sep 17th, 2009, 04:17 AM
#1
Thread Starter
New Member
Help,plz?
Hi all and thanks for helpping me last time ,but i have another qustion?
How can i make a button that download a file using http show a
progress bar about the downloading file state ,any code ,example would be great from you .thanks agine guys
hope i get answre fast ,wating...
Last edited by Rorschack; Sep 17th, 2009 at 04:23 AM.
-
Sep 17th, 2009, 05:45 AM
#2
Re: Help,plz?
You can just call My.Computer.Network.DownloadFile and it will handle the saving and the progress with a dialogue. There are several ways you can call it so make sure you read the documentation first to find the best way for your app.
-
Sep 17th, 2009, 08:00 AM
#3
Thread Starter
New Member
Re: Help,plz?
 Originally Posted by jmcilhinney
You can just call My.Computer.Network.DownloadFile and it will handle the saving and the progress with a dialogue. There are several ways you can call it so make sure you read the documentation first to find the best way for your app.
will i knew how to download a file ,but how to view download bar progress i don't know!
any simple?or full code ?
ok thanks and wait for you ....
-
Sep 17th, 2009, 08:30 AM
#4
Thread Starter
New Member
Re: Help,plz?
i think i found it here
,you people have a nice Code Bank.
-
Sep 17th, 2009, 08:32 AM
#5
Re: Help,plz?
I think you read JMC's reply a bit too fast. He clearly stated:
You can just call My.Computer.Network.DownloadFile and it will handle the saving and the progress with a dialogue.
You just need to use the overload method that has the showUI parameter.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
-
Sep 17th, 2009, 09:02 AM
#6
Thread Starter
New Member
Re: Help,plz?
I thinks i couldn't do it ,any one ? come on just a button downlod a file "i know how to do that " and show a progress bar for the download !
-
Sep 17th, 2009, 09:12 AM
#7
Re: Help,plz?
Both JMC and Stanav noted that you can do it using an overloaded DownloadFile method. Stanav even gave you the exact parameter to modify, the ShowUI parameter.
What issues are you having with that?
-
Sep 17th, 2009, 05:11 PM
#8
Thread Starter
New Member
Re: Help,plz?
 Originally Posted by Negative0
Both JMC and Stanav noted that you can do it using an overloaded DownloadFile method. Stanav even gave you the exact parameter to modify, the ShowUI parameter.
What issues are you having with that?
the proble is how to show progress bar for the file iam downloading!
-
Sep 17th, 2009, 06:40 PM
#9
Re: Help,plz?
Show us your code. You should be using the ShowUI parameter as was described in the previous posts.
-
Sep 17th, 2009, 07:41 PM
#10
Re: Help,plz?
First up, I asked you in a previous thread to provide meaningful titles in future and this thread has another meaningless title. Consider that the title is displayed in the forum home page that contains a list of all thread titles. What would that be like if everyone used titles like yours? How would we know what threads we should look at?
As for this thread, you've been told over and over where to look for the answer. Apparently you are unwilling to look for yourself.
This:
http://msdn.microsoft.com/en-us/library/ack30t8y.aspx
is a link to the documentation for the DownloadFile method, found simply by searching MSDN for my.computer.network.downloadfile. You could find the same documentation using the Help menu is VS/VB Express or even using the F1 key. None of that is programming; it's just simple computer and web usage. That documentation CLEARLY states:
showUI
Boolean. Specifies whether to display the progress of the operation. Default is False.
-
Sep 18th, 2009, 04:10 AM
#11
Thread Starter
New Member
Re: Help,plz?
thanks alot ,i should go and try it ,see you .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|