What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request resource] download a file with a progressbar

[request resource] download a file with a progressbar
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
O.P. [request resource] download a file with a progressbar
is it possible?

thanks :)
04-01-2007 07:13 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request resource] download a file with a progressbar
Not with a progressbar, but to download a file you can use MsgPlus::DownloadFile (there's a finished event but no progress event).

This post was edited on 04-01-2007 at 07:33 PM by deAd.
04-01-2007 07:33 PM
Profile PM Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
O.P. RE: [request resource] download a file with a progressbar
i saw a script with this feature (to be exact, autoupdate feature) but i don't remember its name.

thanks deAd :)
04-01-2007 07:51 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request resource] download a file with a progressbar
the Enhancer script uses a progressbar but not actually for the download. It updates it when it connects to the server, gets a response, starts the download, finishes the download, etc. Not actually the download progress :P
04-01-2007 09:01 PM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [request resource] download a file with a progressbar
I think felu's script @ScriptDev has a good progress bar =\
04-01-2007 09:04 PM
Profile PM Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
O.P. RE: [request resource] download a file with a progressbar
maybe him used
code:
<Control xsi:type="ProgressControl" Id="controlId">
<Position Top="62" Width="180" Left="23"/>
<Marquee/>
</Control>


?

This post was edited on 04-01-2007 at 09:06 PM by felipEx.
04-01-2007 09:06 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [request resource] download a file with a progressbar
quote:
Originally posted by felipEx
maybe him used
code:
<Control xsi:type="ProgressControl" Id="controlId">
<Position Top="62" Width="180" Left="23"/>
<Marquee/>
</Control>


?
no im quite sure his worked like a normal progress bar... just have a look at his code :P
04-01-2007 09:08 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [request resource] download a file with a progressbar
I use a very dodgy way to do it.
1) I get the file size with latest version and change log via XMLHTTP
2) If the update is chosen to be downloaded, I download the file using my exe and run a timer.
3) I check the percentage downloaded using current file size and the size received via XMLHTTPRequest.
4) I update the progress bar and then when the download is finished(both sizes are same) i run the file and close the update window.

For a better explanation you can have a look at @ScriptDev's or Backup Extreme!'s code ;). I don't mind you using my code but i'd like to be credited for it. If you need, you can use the exe aswell(not using a dll as i couldn't register is properly) or maybe ask me to make another one or take the code aswell.

This post was edited on 04-02-2007 at 10:05 AM by Felu.
04-02-2007 10:01 AM
Profile E-Mail PM Web Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
O.P. RE: [request resource] download a file with a progressbar
no idea hehehe
can you help me? :O

i'm trying to make a youtube downloader, if i couldn't.. i'll try to make this with a dll activex :D
04-05-2007 01:14 AM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [request resource] download a file with a progressbar
quote:
Originally posted by felipEx
no idea hehehe
can you help me?
Read my post above yours.
04-05-2007 01:25 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On