I have a ASP application which let user to download their reports in pdf format. I would like to show a progress bar, or change the mouse cursor to a hourglass while the user is waiting for the file. How to acomplish this? In the asp code, I use response.BinaryWrite to create the pdf file directly to the browser. How to detect when the file is ready?
I have a frameset,leftframe and rightframe. Leftframe displays links and clicking on these links the appropriate page is shown in the rightframe.The rightframe accepts some inputs and submits to another page (.asp page).This page creates a .PDF report.
When i click on a link for the first time and try to generate a report , the report is displayed, also the progress bar is shown. But when i reload the page and try to generate the report again , though the report is generated in PDF format, the progress bar is not shown. This happens when the PDF is integrated within the browser.
This does not happen when the PDF is shown outside the browser. Can anyone tell me how do i resolve this issue?
I would like to create a progress bar for file uploading stating the percentage left to complete upload. How can this be done? Any reference that I can refer to?
I have a website that lists Word docs and Powerpoint presentations. When a user clicks on the link the open/save dialogue pops up (as it should). I know that when a user chooses to Save the doc, the dialogue finds the file size and updates the estimated download time as it is downloading.
But how can I duplicate that 'progress' when the user chooses to only Open the file? I know that the browser's status bar shows the status of the page (i.e. loading) but my client would like a progress bar for this also.
I have an ASP which is a form (get), and whenever I run it, even though its just sitting there waiting for input, the progress bar at the bottom of the page starts slowly climbing up. Why is it doing that ?
I'm using ASPSmartUpLoad free component in order to upload files in a browser based way, but I would like to add a Progress Bar to my page during the big files uploading, I mean something like the small html windows that appear when you are "downloading" any file. Please, Does anyone could indicate me a way or idea about to do this?
I need a search in progress page, so when a user clicks my search button they are then directed to a 'searching...' page with an animated gif.
The search in progress page needs to use 'GET' to go and retrieve the results of the search. Once the results come back they replace the search in progress page.
I have an ASP page - that will be making about 7 calls to a database. What I want is to show progress to the users so that they can tell each database call is in progress. The asp calling page works fine, but it only displays when the entire process has been completed. What I want is to be able to show dynimically - step 1 done; step 2 done; etc.
I have some reports which run as SQL statements from an ASP web page. As some of the queries return about 4-5000 records, I would like a progress bar to be shown so the user knows that something is happening, does anyone have suggestions on how to do this or any sample code I can use?
I m in the completion of a "backup script" from remote to local folder. However, i m using the fsobject to make this copy. Of course, when i run this on my local intranet, it s so quick that i don t have the time to realise what s going on and it s already copied on my local folder.
BUT, if i run the script on the Internet (since the file is something like 5Mb and up) i don t have any indication that the file has been copied on my local hard drive. Is there a way that i could display some "waiting signs" (ierogress bar or else) while the copy takes place ?
I am using Commerce Server and during the login phase,it may take a while. I have been requested that if someone is in the progress of loggin in, to display an animated gif stating "Please Wait". I am not allowed to use frames (I know why) and have been asked to avoid JavaScript if at all possible.
Does anyone know how to check for an event, display a gif without waiting for the current function that manages the login to return before refreshing the page. I was looking at some client side event?
I had posted a couple of weeks ago to the board, asking about file upload with asp. I wanted to write my own and I have down that now.
Now, I would like to make my own progress bar to display at the client as the file uploads. I have no idea about how to do this, dont even know where to start looking.
Can anybody point me to some sample code, tutorials, articles, etc ? I would prefer to write something with pure vbscript/javascript...if thats possible.
I have a web app that converts files. The conversion can take up to 20 minutes depending on the file size and contents.
So, to help the user I want to display an animation (gif/avi/swf) while this happens. (so that they don't assume it has stopped and go and submit the file again!)
I have tried all sorts of options but cannot get any animation to play while IE/NS is waiting for the asp script to process and post back.
Is there any way possible for me to demonstrate an in-production site working locally on my machine as ASP and SQL Server. I really would like to show the client current progress, is this possible?
I've looked through old posts about progress indicators, and i understood few things, but still i'm having trouble understanding the whole process.
I have a webpage with a form to upload an image. I would like to make my own progress indicator with asp. I found some Java indicators that are hard to implement so i thought why not make my own one. Hope u'll be able to help me, i need some hints.
I use smartAspUpload. When clicking on submit (upload.asp) i want a pop up to show and manipulate an image width during the progression. The file that makes the process of taking the image, manipulating it, saving as etc... is named picuploaded.asp
My questions:
-Can picuploaded.asp communicate with the pop up and not upload.asp ? -I don't have a do while loop in my picuploaded.asp so how can i increment a variable like the examples on this forum how can i proceed otherwise?
I need a way to show the client that the emails are being sent and how many are left. The way I want to do this, is by opening a window which will send the emails and display the status. The problem is how do I pass it the subject, body and so on. I don't want to use a querystring. I thought of doing it like so:
onSubmit = progress() - this will call a js script which will open the progress window action = (the page that gets all the values from the form and sends the email)
Is there a way to update the popup window from the "action" page? for example: everytime an email is sent... increase a variable and send it to the popup window, and then close it when its done.
Set cnt = Server.CreateObject("ADODB.Connection") cnt.open "test"," "," " cnt.close set cnt = nothing i have some simple asp code as above running well in http mode,but once i run this in https mode, i got the following error message . line 3: [MERANT][ODBC PROGRESS driver]Optional feature not implemented. what i am using is Merant 3.70 32-bit Progress driver and the progress db version is 9.1c any suggestions? thanks a lot in advance
I have a database of songs listed as Title, Artist,Description, DiscNo and TrackNo with a seperate record in that format for each song.What I would like to do is search through them for the Description, show only the disc numbers in the results.
This I can do easily. Where I am lost is that I only want each individual disc number to show once. If I moveNext through the recordset, it shows the disc number 15 times per disc. Is there a filter I can add to limit this display?
Is there any way to input .asp code so that a specific element isn't show on a page? example: I don't want a menu on a specific product page, but I want it on all the others. Is there any code to input into a site wide includes file to implement this?
I create a page which will show me all the Regions from the table "RegionTable" where I have no information (empty fields) in on of the fields RegionDescription or RegionRank. It is to make my content managing easier. I do not want to see those records which contain all the necessary info (region description and rank). I tried the following code, but it does not work
qry = "SELECT * FROM RegionTable WHERE RegionDescription="" AND RegionRank="" "
error message is: ([Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1)
I have a query that displays values from a db. The problem is that the value displays like this: R 6.5 instead of like this: R 6.50 How would I get it to show the full value?
I am using a Cdonts e-mail script that e-mails the results of a form to my address. It currently displays the data like:
Amount: 12.00 Percent: 2.00
I need it to say:
Amount: $12.00 Percent: 2.00%
How can I get the $ and % symbols to be included in the e-mail template without getting a 500 error?
Here is what I have:
Body = Body & vbcrlf & "Amount: " & request.form("amount") Body = Body & vbcrlf & "Percent: " & request.form("percent")
I've tried a few diffrent ways but here is one example:
Body = Body & vbcrlf & "Amount: $" & request.form("amount") Body = Body & vbcrlf & "Percent: " & request.form("percent")%
I've tried using / before the symbols and "" but everything I've tried keeps coming up with a 500 error. How can I add these symbols to my template so they will show up in the e-mail?
I know we have this thread somewhere, but I can't seem to find it now
I want to show the first 100 chars of a string, but I don't want a word to be cut in half at the end, it must show the whole word then and go a bit beyond 100 chars.
How do you print out all of the contents of an array if all you know is the array name? FOr example, I am looking at pre existing code that looks like this:Code:
scartItem2 = session("cartItem") arrCart2 = session("MyCart") For Z = 0 to scartItem2 cartfields2="&Email=YES" & "&processed" & z & "=" & arrCart2(cProductid,z) & "&quantity=" & arrCart2(cQuantity,z) What I need to find out is if there are ANY other elements other than cProductid AND cQuantity in this array and what their names would be so I can add them to the code.
I know that I could print out the values of the above by simply doing this:
response.write(cartfields2)
But how do I find out if there's a cFeature or any other element?