I want to read an ASP file and display its source text.But I only get its HTML output. Later on,I will extract that source text to display certain thing.
Here is my code:
Const Filename = "/aspBoard.asp"
Dim FSO set FSO = server.createObject("Scripting.FileSystemObject")
This is not really language specific but more of a source code parsing. I have a large ASP source file that I like to split up, resulting in separate ASP files, each containing one function and the filename named after that function. Does anyone know of a tool/script which does this? PS: I am too lazy to learn Perl/AWK/Python to do this, hence why I believe someone has already written a tool/script to do this. Possibly in C++/etc.
we have an Enterprise Application on ASP and MS SQL 2000. Would like to know if I can convert the asp app to an exe or encrypt / encode / hide the source code so that no one accessing the server can touch / modify / copy the same.
I have 2 queries on one asp page, usually I only run query 1 as default, But I hope there is a text link called "Run query 2" and when I click it, my asp file will run query 2.
i am linking the text to a new fresh page by a popup. however, when i take away the <a></a> tag, when i move myu mouse over, it does not have the effect. but when i set the href to --> href="#", it pop out 2 windows. How can i solved the prob? I just need to link the text to a new fresh pop out when on click.
function popup(url) { newwindow=window.open(url,'name','resizable=yes,sc rollbars=yes'); if (window.focus) {newwindow.focus()} return false; }
I have a text box in frame one that the user will enter a 4 to 8 digit number and tab over to text box two to enter a qty they want to order.
BUT after they tab out of the first text box I want to display in the second frame the results of that number from the first text box - weather its valid with discription or invalid number.
1. I have created a database with the inventory #'s with discription. Current link will display number and product code /framequickpadinfo.asp?pass=0401 /framequickpadinfo.asp?pass=4160017 and so on. That part works fine.
I just need to know how to link that text box in frame 1 over to page (framequickpadinfo.asp) in frame two..
I have copied the code below from elsewhere on the web in order to create a form that will allow users to upload pictures to my server.
First obstacle i'm encountering is that the 'upload' button doesn't appear as a link but rather as text. I'm VERY new to .asp so hopefully somebody will see a minor error and explain how to fix it. Code:
I am trying to create a link that takes a record ID and opens up a PDF file that is associated with the record ID in the database. The following code works
Can i know how to link a hotspot to asp file? i'm using frame. i have leftframe and mainframe.
the left frame is fixed. when i click on the hot spot on the left frame pic, i wan it to link to register.asp but target on the main frame but it will have a dialog box prompt
File downloading u are downloading from register.asp from C://.........
I have uploaded files to a SQL Server DB using Pure ASP Upload, and that was a snap, but what I would like to do is create a link in my recordset from the file name in the database to the actual file that resides in a folder in the database so that when a user clicks on the link, the file will open.
I've done this successfully using another program but it used an ACCESS DB and I want to use it with SQL Server. Plus the ACCESS DB used a field with a data type of Binary.
Currently I am developping a internet "directory browser"
My page 'default.asp' has following entries:
CurrentPATH = Request("MyLink") Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFolder = oFSO.GetFolder(CurrentPATH) Set oFolderContents = oFolder.Files
this works fine with 'default.asp?MyPath', where "MyPath" stands for i.e. c: emp but NOT with 'default.asp?MyFile', where MyFile stands for i.e. c: empfile.txt
Is there a way to determine if the link contains a file or a path? Of course you can check for a dot (after dot, normaly it is an extension, thus a file), but I want to have it possible also to have dots in my directories...
I'm working on a document management app that saves scanned docs as PDF files in a local directory, then saves document metadata in an Internet-based SQL server.
The SQL server is then queried to retrieve document info and links are created that point to the files.
The code points to the proper local directory and file, but I can't get the browser to open the document in a target frame. If I open a test doc locally it works fine.
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.