I have a text file that is called up in an ASP page. The text file is the content of a table that is built into the ASP page. My question is if the text file does not have anything in it or is equal to a certain value like "No Updates Available" how can I tell the ASP page not to display the table at all?
I figure it will be using some form of FileSystemObject. I just don't know how to do it.
I have developed a website with ASP.NET Jscript. Im fairly new to development so i used DreamweaverMX and Webmatrix which was very useful. Now I want to enhance it further by adding a search facility into my website and thus providing users to actually find contents within my webpages and display the same.
I have an Access database driven website using ASP in IIS 6. On my website, I have a discussion forum, I wonder how can I add a full text indexing feature into my forum. So for example, when someone wants to search the word "fish" in the forum. All threads that contains the word "fish" should popup as the search result.
I need to get the full URL of the current page in ASP. When using Request.ServerVariables("URL") anything after the filename (such as a #section1 to jump to an area on the page or data submitted from a form using the GET method) is automatically removed. I do not know of any keys for the Request.ServerVariables collection that do this, but cannot find any other objects/properties that would be appropriate.
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.
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?
Just curious: is there a bit of ASP code you can place in the top of a document that will force all root relative image and file paths in the HTML of this doc to expand to include the full URL?
I doubt it, but before I did it manually, I thought I'd ask. We use a template of sorts, but need one document to use the full URL, and it would better to just have it that way in the one document and not the entire template.
I'm using Windows Integrated Authentication on my company intranet ASP web site (IIS6 W2K3).
I would like to know how could I get the full Active Directory domain name from the Logon_User variable.
I always get the netbios name of the domain, but I need the full domain name to be able to distinguish users (because actually there is two companies on the intranet having their AD forest linked, but also having some subdomains with identical netbios name !).
I mean, for instance for a user login "theuser" coming from the domain is "thedomain.thecompany.com", I need to get in Logon_User environement variable the following content: "thedomain.thecompany.com heuser" At the moment I only get "thedomain heuser", excepted if I switch to basic authentication, that I don't want.
I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:
Do you know any techniques how to display full screen images without using popup window?
I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.
i have a string and i would like to run through this string to find a "."(fullstop), and once found put a break in so that i could continue the rest of the string on the next line.
help me with a simple asp code snippet, since I have no idea how to implement it (in asp anyway...) I wish my script to print the full path from which it is running on the server. How can I do this ?
I have just got a datafeed and i'm trying to put it in an actinic website for a customer. I match every record eccept price feed Actinic says imported fields must not contain any decimal points i.e £1000.00 should be 100000 how do i do this in excel ? I can't see anyway of formatting it to match the requirements.
i need to know that when i make some asp pages in .NET then i arrange all the contents such that it would capture all the space in the browser window. but it leaves some space emty when i run this page in Internet Explorer. please any when let me know that hw can i slove it?
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.
I'm trying to figure out if this is possible before i have someone start scanning a bunch of images.
If i scan a bunch of images and give them specific names can i then look at that dir and read the name of the file and write a link in a field of a table?
example FOLDER CONTENTS 123254.jpg 125684.jpg 168468.jpg TABLE record example epn =123254 name = Bob Picture = 123254.jpg
i want the name of the file to be written if there's one in the folder for that epn.
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"?