472,353 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Progress Bar

Hi. I need some script that will show progress bar in classic asp. I did not
found match example. I found samples with bar only when we need many
repeated steps. My function has diferrent time of execution, from 1-2
seconds up to 40-50sec, depend of server speed.

Below the place where I thought it should be
<%
dim path
Set myServer = Server.CreateObject("myDLLServer.myReport")

For i to SomeNumber

path=myServer.GetReport(parameters) ' This action takes a
long time. This loop For does not help me, because i am not jumping step by
step like in recordset. The delay is keep me here as long
' as GetReport function works

call showprogressbar()
Next
%>
Any sugsestion? Thanks
May 7 '07 #1
2 4678
Michael wrote:
Hi. I need some script that will show progress bar in classic asp. I
did not found match example. I found samples with bar only when we
need many repeated steps. My function has diferrent time of
execution, from 1-2 seconds up to 40-50sec, depend of server speed.

Below the place where I thought it should be
<%
dim path
Set myServer = Server.CreateObject("myDLLServer.myReport")

For i to SomeNumber

path=myServer.GetReport(parameters) ' This action
takes a long time. This loop For does not help me, because i am not
jumping step by step like in recordset. The delay is keep me here as
long ' as GetReport function works

call showprogressbar()
Next
%>
You must begin by understanding what "stateless" means. Your script produce
a single HTML document that is indistinguishable from a static HTML
document. Worse, it will wait until the entire process completes before
sending that document.

Your best bet is probably an AJAX approach:
http://www.google.com/search?hl=en&q=ajax+progress+bar

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
May 7 '07 #2

"Dave Anderson" <NP**********@spammotel.comwrote in message
news:OD**************@TK2MSFTNGP02.phx.gbl...
Michael wrote:
Hi. I need some script that will show progress bar in classic asp. I
did not found match example. I found samples with bar only when we
need many repeated steps. My function has diferrent time of
execution, from 1-2 seconds up to 40-50sec, depend of server speed.

Below the place where I thought it should be
<%
dim path
Set myServer = Server.CreateObject("myDLLServer.myReport")

For i to SomeNumber

path=myServer.GetReport(parameters) ' This action
takes a long time. This loop For does not help me, because i am not
jumping step by step like in recordset. The delay is keep me here as
long ' as GetReport function works

call showprogressbar()
Next
%>

You must begin by understanding what "stateless" means. Your script
produce
a single HTML document that is indistinguishable from a static HTML
document. Worse, it will wait until the entire process completes before
sending that document.

Your best bet is probably an AJAX approach:
http://www.google.com/search?hl=en&q=ajax+progress+bar
-.net in the google search turns up this:-

http://javanet1-staging.locaweb.com/ajax-progress-bar/

May 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: SpamProof | last post by:
I got an animated gif that is a barber pole spinning that I want to use as a progress bar. The problem is that is stops spinning (shows 1 frame)...
7
by: Pepi Tonas | last post by:
I have a form that takes some time to load because it has to populate some Data. I was trying to display a form on top of it with an activity bar...
1
by: scorpion53061 | last post by:
this code came from cor and I think Armin authored it. I am trying to download an access database and track its progress. It is reading the...
8
by: Brian Henry | last post by:
I created a smooth progress bar with this code.. but if you update the values in a row quickly of it and watch it on screen it flickers... how...
8
by: WhiteWizard | last post by:
I guess it's my turn to ASK a question ;) Briefly my problem: I am developing a Windows app that has several User Controls. On one of these...
1
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote...
15
by: eladla | last post by:
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded...
5
by: Aggelos | last post by:
Hello I am doing sevreral scripts like sending a newsletter that might take a while to finish first to prevent the browser from timing out and to...
1
by: Bob | last post by:
Hi, I am having trouble seeing how this bolts together. The UI starts a process which involves a long running database update. All Database...
0
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.