Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Progress bar in asp while file is downloading

Reply
Thread Tools

Progress bar in asp while file is downloading

 
 
shil
Guest
Posts: n/a
 
      03-28-2006
Users can view mpeg movies from my website. When users who don't have
DSL, it takes longer time to launch windows media player and play the
movie. There is no indication to the users that file download is going
on. To them it appears hung.

Is there any way to show progress bar on the page while file is
downloading in the background?

My code is:

<HTML>
<BODY>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="479"
border="0" height="74">
<TR>
<TD align="center" class="HeaderText">Nalco Communications Video
Library</TD>
</TR>
<TR>
<TD width="769" align="center">
<p class="ItemText"><a href="\videos\video1.mpg">Video1</a></p>
</TD>
</TR>
</TABLE>


Thank you.

 
Reply With Quote
 
 
 
 
Slim
Guest
Posts: n/a
 
      03-29-2006
Yes you can, windows media player gives you events telling you what it is
doing such as loading playing buffering, but this is on the client side not
the server side.

I made a quick example, look at source code, look up the windows media
object at MSDN, it has many events and properties to play with

http://wanews.org/test/WM/WMEvents.asp


"shil" <> wrote in message
news: oups.com...
> Users can view mpeg movies from my website. When users who don't have
> DSL, it takes longer time to launch windows media player and play the
> movie. There is no indication to the users that file download is going
> on. To them it appears hung.
>
> Is there any way to show progress bar on the page while file is
> downloading in the background?
>
> My code is:
>
> <HTML>
> <BODY>
> <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="479"
> border="0" height="74">
> <TR>
> <TD align="center" class="HeaderText">Nalco Communications Video
> Library</TD>
> </TR>
> <TR>
> <TD width="769" align="center">
> <p class="ItemText"><a href="\videos\video1.mpg">Video1</a></p>
> </TD>
> </TR>
> </TABLE>
>
>
> Thank you.
>



 
Reply With Quote
 
 
 
 
shil
Guest
Posts: n/a
 
      03-29-2006
Hi,

Can I have the source code from your example?

Appreciate your help.

 
Reply With Quote
 
Slim
Guest
Posts: n/a
 
      03-30-2006
yes, just go to the view menu

select source

"shil" <> wrote in message
news: oups.com...
> Hi,
>
> Can I have the source code from your example?
>
> Appreciate your help.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Status Bar & Address Bar while file downloads, asp.net 2.0 axelman ASP .Net Web Controls 1 07-18-2008 03:25 AM
Hide Status Bar & Address Bar while file downloads, asp.net 2.0 axelman ASP .Net 1 07-18-2008 03:25 AM
Progress bar to show the progress of a task Charlie Zhang Java 3 08-16-2004 05:53 PM
progress bar indicates the page is in downloading, but it is already finished alex ASP General 1 12-04-2003 08:45 PM
progress bar or guage bar Rob ASP General 6 07-12-2003 09:46 AM



Advertisments