What I'm trying to do is simply to allow a user to select a file on their local computer, and load the contents of it into a multiline text box. At the same time I would like to avoid any activex if possible.
The other option I suppose would be to just load the contents of the file directly into a database, but I'm sure the former is possible.
I have a text file containing korean fonts, i saved it as a unicode format in notepad. i tried to load it in asp using #include file, i get an "UNICODE ASP files are not supported" ....
im not sure if this is possible, but how do you load a file in asp? Basically i want the user to choose a .mdb file from their file system and then set that file as the "master databse" to be used in the website!
I'm reading an XML file in my ASP script which then uses XSL to format the output. However, the script takes a long time to load the script, almost 30 seconds. Code:
set xml = Server.CreateObject("Msxml2.DOMDocument.4.0") xml.async = false xml.load(Server.MapPath("XMLTestfile.xml"))
Does anyone know why the webserver will all of the sudden take so long to load the file when it used to work almost instantly?
I'm using a flat text file in place of sessions to run my shopping cart. I have a couple different asps' that manipulate the session file to preform tasks like deleting items and updating quantities. The file stores one product along with the user selected options per line so it looks something like this:
Does anyone know of a method of converting text files to sound files (.wav, mp3 etc) which can be accessed from ASP?
I have an ASP-based website that enables users to design choreography for equestrian dressage. The resulting design is held as a series of coded movements in a database and it can then be reproduced as text or as a series of diagrams. I would like to offer the option of an audio version.
Does anyone have knowledge of converting text file to .iff file. I am working on a VB ASP application. I searched for example on internet but I didn't get anything.
If you have any idea of converting text file to .iff file (VB ASP) please share with me.
I want to read an asp file as a text file. The problem is that the file that I want it to read is located on a server. For example: I want to read te content of this file: http://www.bnro.ro/Ro/Info/default.asp . I want to look after some values in that file.
how can i write a line to a text file? also, how can i put every line of a text file into an array - and see whether a value mathes any of the lines in the array?
I have an asp page that is populated by an access db, I want to create a text file on the server based on the asp file. Then provide a link for people to download that text file. How would I do this quickly?
I've a very small form just a name and a few checkboxes.when user submits the form, we want to store the data in a CSV text file and send an email to one of us here. Has any one had done it before please give me some ideas how to do it.
I'm using ASP 3.0. I'm taking form contents and dumping it into a text file on the server. how to add the TIME to this statement. I create the text file with the name of file, month, day and year.I would like to add TIME to it.
------------------------------------------------------------- set fso = createobject("scripting.filesystemobject")
I have a page which sends a query to an DB2 using an ODBC. The results are then written to a text file. I am unable to write directly to the users drive because of permissions.
The problem I have is that when the query set becomes too big, I get error '8007000e' Not enough storage is available to complete this operation. The query is returning 100, 000 records or more. So my question is how do I handle this? Somebody had suggested to me to chunk the data. Code:
I would like to know how I could accomplish this without using DB. There's a long text file named "TEST.TXT" The TEST file contains special character 'º' which will be used as pagebreak. I want an ASP page that will read the TEST.TXT file and split it into multiple web pages with navigation control. (eg. <FIRST<PREVIOUS> <NEXT<LAST)
My original thought was to save the recordset into a text file. However, because of permissions I am unable to do this and will not be able to change the permissions. My next thought was to open it in excel. However, the table is too large and I get the Cell Table: too many rows or columns error. I need the user to be able to save the records on her computer.
I'm write an asp to include part of a text file into my asp output html, I use FileSystemObject to get the content of the text file, but the asp just hang when it runs, the source code is listed below if anyone could help: Code:
I want to loop through a recordset and save each records contents as text files and then zip all the text files and promt user to download the zip --- can this be done?? Does anyone have any code?
I'm writing data from an access db to a text file then emailing the text file. Everything works fine but it needs to tab deliminated. Can some one post the code for a "tab"?
I was having trouble with the text file regarding the path of the img source depending on the location of the image so I thought I could use the full URL of the image.
Now the site im working has to work on 3 different versions testing / staging and live which gives a server name for the url everytime.
I wrote an asp program that displays some information line by line such as name, address, town, state, zip
and it prints about 200 lines to their browsers when the asp file is called. It is comma delimted so they can import into their database using access for example.
1. when they do file-save as to a txt file, it does not import right for them. It seems the lines blend into each other.
1. the only way they can do it is if they view the source code, then save as txt file. then when they import into access, it parses right.
odd, what can i do on my asp end to make sure they can just do a file save as right from browser instead of viewing source.
Can this be done? For example, in the line below. There may not always be a & objRS("ShippingAddress2") and I'm wondering if there is a way to use an if/then in there some how. If there is no data in that field then I need to pass over this part completely & objRS("ShippingAddress2") & "|"
I'l have several instances where I need to do this Code:
i found this piece of code from a site and it claims that you could create a text file into directory "c:test.txt" and writes the line Hello world in it. Code:
I wanted some information on how I can do the following thing.Any kind of links/urls /programs related to this topic would be appreciated:
I want to perform an export of data to a text file,tab delimited. The user will basically select the date range and hit submit.After the submit button is hit,i get the pop up sayind that the data is in Ex.txt file .
I need to then use this text file to transport stuff into quickbooks.
I need to use asp code in a text file (.txt extension). But when i try to call the text file (with asp code inside) in a browser , it simply displays the asp code i have written on the file. I know that i can set options in IIS administrative panel so that my text file is parsed as asp. But assuming i have no access to the web server, how to do this?
I have a text file that is the result of using XMLHTTP object to pull back a page of search results from a search engine.
So I have the entire results page in HTML, and want to break out each hit result from the text file as a unique item and do what I want with each hit result.
Is there any suggested algorithms or any other techniques I could be directed to?
We have an interesting situation: A developer wants to allow users to print a text-only version of an ASP page -- but do so without showing the page. In other words, the users are viewing the regular version of the page, but then click the "Print Text-Only Version" (and see the print dialog) but not see the page that will be printed. Is this even possible?