Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2003, 03:33 PM
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ittorget
Default Progressbar in ASP

I would like to know how to make a progressbar in ASP.
How is this posible?

 
Old October 14th, 2003, 02:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

If you search Google for ASP Progressbar, you'll get quite a lot of hits.
Some of them discuss how to do this with JavaScript (basically show an animated gif simulating a progressbar that is replaced with real content when the page has finished loading), while others use a component for this purpose.

Browse through the articles and see if any of those solutions fit your needs.....

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old October 14th, 2003, 05:21 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

check this html code

<script language="vbscript">

    sub cmdlogin_onclick()

        if FORM1.txtlogin.value="" then
            alert("pls enter login id")
            FORM1.txtlogin.focus
        elseif FORM1.txtpw.value="" then
            alert("pls enter password")
            FORM1.txtpw.focus
        else
            FORM1.action="http://www.mathi.8m.com"
            FORM1.submit

            for i=1 to 2000
                FORM1.pb1.Value=i
            next

        end if
    end sub
</script>
<FORM id=FORM1 name=FORM1 action="" method=post>
<INPUT type=hidden id=txtlogin value=dsfsdf name=txtlogin >
<INPUT id=txtpw style="WIDTH: 142px; HEIGHT: 22px" type=hidden name=txtpw value=sdfsdf size=18>
<INPUT id=cmdlogin type=button value=check name=cmdlogin>
<OBJECT id=pb1
style="LEFT: 0px; WIDTH: 248px; TOP: 0px; HEIGHT: 18px; BACKGROUND-COLOR: pink"
classid=clsid:0713E8D2-850A-101B-AFC0-4210102A8DA7 name=pg1 VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="6562">
<PARAM NAME="_ExtentY" VALUE="476">
<PARAM NAME="_Version" VALUE="327682">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="Appearance" VALUE="1">
<PARAM NAME="MousePointer" VALUE="11">
<PARAM NAME="Enabled" VALUE="1">
<PARAM NAME="OLEDropMode" VALUE="0">
<PARAM NAME="Min" VALUE="0">
<PARAM NAME="Max" VALUE="2000"></OBJECT>
</FORM>

S.S





Similar Threads
Thread Thread Starter Forum Replies Last Post
file uploader with simulated progressbar kunchala_rakesh Ajax 1 September 13th, 2007 10:11 PM
ProgressBar on httpwebrequest panuvin C# 1 February 5th, 2007 03:24 PM
progressbar vnt C# 0 May 11th, 2005 08:14 PM
Progressbar ! minhtri Classic ASP Basics 3 June 1st, 2004 11:47 AM
ProgressBar and long event Ciarano VB How-To 6 April 1st, 2004 05:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.