Home | Advertising Info84 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: screen refresh
From: Ken LeFevre
Date: 9/7/2000 1:54:14 PM
IP: 63.192.161.11



 

I have code that puts up a progress bar and a changing message above it using DHTML. It works great in server-side code. When I tried to use it in client-side code, I found a problem. I get the initial display and the end display, but none of the progress displays in the middle. I found that if I put a MsgBox in the loop, each time I dismiss it (causing a screen refresh), I get the intermediate updates.

Any ideas on how to force a screen refresh (like doevents in VB, which doesnt work in ASP)?

Here are the two client-side functions that do the work.
***************************************************************************

FUNCTION: UpdateProgressBar()

DESCRIPTION: This function updates the progress bar.

PARAMETERS: none

RETURNS: void

DATE: 8-9-00

BY: Alex Homer in an article called Displaying
a Progress Bar in a Web Page.
Obtained from www.asptoday.com. 

REVISED:

***************************************************************************/
Sub UpdateProgressBar(increment)

increase the width of the colored DIV element
intWidth = document.all("divProgress").style.pixelWidth
if (intWidth < 300) then
if (increment = 9999) then
document.all("divProgress").style.width = 300
else
document.all("divProgress").style.width = intWidth + increment
end if
end if
End Sub

******************************************************************


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com