|
Just a couple of thoughts...
Before you set TextStream = Nothing, you really should call TextStream.Close. Another thing to try might be to call Response.Flush after each line is read to send the text to the browser, rather than waiting until the entire file is loaded to output the text. That would let you see the process as it progresses, rather than waiting for the end, and might give you some insight as to where the process is failing. Alternatively you could use Response.Buffer= False as the first line following the language declaration on the page to disable buffering completely and send output immediately.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
Touson wrote:
the user will complete the information in a text file and upload it to the web server, where the ASP file reads it and outputs the information
My answer may not solve/fix the browser hanging problem. May b, I can suggest another method to invoke the sit updation.
Make a ASp script which opens as a list of input fields, and make the data entry person to enter the data and let the submit @ the asp page update the site??
Sorry for drifting from ur existing code/idea!
I was born intelligent Education ruined me!.
|
|
|
|
|
Ha, i'm facing the same problem too
But funny, it works in my prof's server but not in my own computer
I'm looking for it now but if you can solve it, pls let me know
Thanks
|
|
|
|
|
Hello everyone,
I have a question about vb + assess + asp.
If i write a code in vb in the access database is there a way to run this code from server side
asp.
What i want to do is add a function to assess database that searches the access table to find out if this person has already been on the site.
Does anyone knows if this possible?
And y is there a vb editor in access???
Thank you
Ilya
|
|
|
|
|
iluha wrote:
If i write a code in vb in the access database is there a way to run this code from server side
asp.
I haven't found a way to do so yet, but I'm still looking. But why do you want to do this? Why not simply add a userid to the database on the first visit, then use ADO to query the database to find if that userid exists? Using cookies will allow you to accomplish the same thing without the user having to supply a userid, but this requires that the user have cookies enabled in the browser. You can't always depend on that, but you can provide a notice on the site to the effect that it won't work if cookies are disabled.
iluha wrote:
And y is there a vb editor in access???
Access isn't meant to be a full relational database server. It's designed for use in a small office for developing custom database applications for internal use. VBA is included, along with the VB editor, to let you provide the functionality needed to respond to user input appropriate to your application. For general database purposes, SQL Server is the recommended solution, and you can access stored procedures remotely using a SQL Server database. MSDE is a freely distributable version of SQL Server that you can install on computers running your application so that your customers don't have to own SQL Server to use it.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
Hi
When you include a src="javascript.js" in your html code, am I correct in assuming that only the actual html file are downloaded by the user, and you will save download time because the code in the .js file are only downloaded when used? Or are both the html file and the .js file downloaded when the page is opened?
tx
|
|
|
|
|
Both files are downloaded.
Regards,
Brian Dela
|
|
|
|
|
Check out the cache on IE and you will see the .js file
He who laughs last thinks slowest.
|
|
|
|
|
hi,
i have a java applet being used in my application. but when someone right clicks on one of the menu items it pops up a new window and tries to connect to a web page on internet.
Since my web application is on a Local Area Network it tries and fails...
How can i kill that window using JavaScript?
is that possible to kill that window although source of it is a Java Applet?
thanks for ur help
atilla.selem
just listening to you...
|
|
|
|
|
Hi.
I'm a beginner, so may be you'll find this question easy to answer.
I'm trying to upload a file from a web page with an tag, and I want to submit it without refreshing the actual page. I'm working with two frames: the visible one and a hidden one (not visible) with which I've been trying to send the form included in the visible one with javascript/DOM, but when I get the name of the file to upload I can't clone the input object to the not visible frame and send the form from the hidden frame (I think this is due to the impossibility to copy the path of the input tag to the hidden frame).
Could any one help me, please? I've been searching the web, but I found no example (may be because it's too obvious for someone with a minimum experience).
Thanks in advance.
|
|
|
|
|
There is one possibility I can think of to stop the page refreshing.
When a request is made to a server a status code is returned whether it be 200 (OK) or 404 (Not Found) by default, otherwise the Internet would not work. There is however a status code which does not return which is 204.
On the client side submit a page as normal. On the server side page do what you have to do with the the request and finally return a staus code of 204. The page will not move.
He who laughs last thinks slowest.
|
|
|
|
|
Thanks for such an easy way to do things work!
|
|
|
|
|
I was wondering,
I am writing some CGI script in Perl to use on my website. Since perl script is interpreted, does that mean that if you heavily comment your code,let's say in a loop, and this loop is exectuted many times, could it significantly slow your program down?
Kevin Shaffer
Student of Computer Science
University of Kansas
kshaff03@msn.com
|
|
|
|
|
No, the script gets compiled into an intermediate language when it's started. Comments don't have any effect on speed after that step.
|
|
|
|
|
Hi All
Does anyone know a good tutorial on the net to help me with macromedia Flash 5
Reguards
Stephen
->->->->->->->->->->->->->->->->->->->->->
"Police arrested two kids yesterday, one was drinking battery acid, the other was eating fireworks. They charged one and let the other one off."
Tommy Cooper
|
|
|
|
|
www.flashkit.com[^] has stacks of stuff although more tutorials are coming out for Flash MX now.
Regardz
Colin J Davies
* WARNING * Save your work This link is to reboot your PC
It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox
|
|
|
|
|
Any particular part of Flash 5? Or just ... everything?
One tip ... use Flash MX, if possible, cuz the components addition is great.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
my lecture is using ASP vr5.0 and i'm using vr5.1
is this the reason that cause some of my scripts couldn't work on his server?
for example:
1. rsRecordset.Open strSQL, adoCon, 3, 3
--> works on my server but not his
so i change to...
2. rsRecordset=adoCon.execute(strSQl)
--> it works!!!
Can you guys please tell me what is really happening there? thanks
|
|
|
|
|
|
Hi
How do you view the last line of a textarea without having to scroll down to it?
tx
|
|
|
|
|
Change (or add) the rows= attribute to vertically size the box to show all the lines. The parent container may also need to be manipulated to accomodate it.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
you could dynamically set the content of the TEXTAREA to a javascript variable and then show it on a popup DIV or anywhere you want...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Does anybody have experience with this?
Here's the scenario:
I have a Classic ASP web application that ran just fine on the same machine with an instance of an Oracle 8i database. So, in more specific terms ... one machine running both an Oracle DB and IIS to display information in web pages. This worked.
Then I upgraded the DB to 9i and it does not work. IIS still works, but when the ASP pages get to the point of trying to create the ADODB.Connection to Oracle ... error.
Two different errors occur because I have tried to connect to the DB two different ways.
Using OLE DB:
Oracle error occurred, but error message could not be retrieved from Oracle.
Using a DSN from ODBC:
Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
Both instances point to driver related errors and the second hints to permission problems. I have tried allowing full permissions to everyone for just about everything possible on a test machine and can see no reason for drivers to be fouled up. Installing the most recent version of the MDAC has been attempted to no avail ... reinstalling the Oracle Client tools ... no go. Even a full reinstallation of Windows 2000 Server, the Oracle DB and the web app still results in the same errors.
If you can help shed any light on this or give suggestions of things to try I am more than willing to try them. TIA.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
If this spiked anybody's curiosity I'd just like to let folks know that OO4O turned out to be a diamond in the rough.
Still haven't figured out what the deal was with ADO but, hey, it works now.
Wally Atkins Newport News, VA, USA
|
|
|
|
|
D2F3U wrote:
OO4O turned out to be a diamond in the r
can u just explain and tell me... how u got things working!
I was born intelligent Education ruined me!.
|
|
|
|