Retrieving Lines From Other ASP Pages

I have been asked to design a ASP page that retrieves the URL and a line of text that contains the version number from a number of pages in our software.

The idea is that if we get a email to our support dept we can check to see what version the client has to ensure that they have got the updated versions instead of getting the client to search through for the Version No.

What I need to know is if I can retrieve a line of text from all our asp pages and then populate it into a table with the page URL and the Version number using ASP.

View Replies


ADVERTISEMENT

Asp (visual Basic Script) Break Long Text Lines Into Several Lines.

asp (visual basic script) break long text lines into several lines.

This line of my guestbook (visual basic script) - response.write "message: " & Recordset ("message") & "<br><br>" displays access database field "message" in one line in web browser.

How do I break this text line into several lines? I know in asp.net there is datagrid. Is there something like datagrid in asp. Or perhaps this problem can be solved with htm?

View Replies View Related

Last 30 Lines

Got a total blank on this one this morning, could anyone point out how I read a specified number of lines from a textfile, the last 30 in this case. (I know I'm gonna have to use the fileSystemObject before anyone mentions it.)
I'm guessing I could use a for i = 1 to 30 loop but I'm completely at a loss this morning if anyone has a nice efficient way of doing it

View Replies View Related

Black Lines

I'm butchering up the top part of my site so I can make it percentages and make it the same size on every browser.

http://vgameforce.com/gfv8test.asp

If you go there you'll see a black line that disects mario and ninja gaiden. I don't want that line there but I want those to be seperate images.

View Replies View Related

Blank Lines

I am creating a directory of suppliers.I have a form that collects data - business name, address1, address2, town, city, county, country, postcode.
The data is stored in separate fields in an Access database. Another page is used to display the data, one field per line. However, if some of the fields are blank, I want to suppress the blank liens as at the moment I am getting:

My Business Name
1 High Street

Any Town

Any County
Postcode
United Kingdom

View Replies View Related

Erasing All Lines

I know how to read a text file in ASP, I know how to append lines to a text file. How do I simply erase all lines from a text file?

View Replies View Related

Splitting Lines Of Code

if i wanted to split the below SQL statement on two lines, what would the
syntax be....

SQL = "UPDATE gallery WHERE g_id = " & Request.Form("g_id") &
"SET g_name = " &
Request.Form("g_name") &
"g_add = " &
Request.Form("g_add") "

View Replies View Related

Question About Split And New Lines

This code works great unless the data strValue doesnt have any new lines or no data... i get the error

Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'Split'

is there a way to allow it to return null or something? Code:

View Replies View Related

Display Multiple Lines

Can anybody give me some tips on the best and/or easiest way to display
multiple lines in a field. The data is collected from a "textarea" field
when the form is submitted, and I want to display all of the data (multiple
lines) in a resulting HTML page. The data displays on a single line
(obviously) and does not wrap without manipulation of the string variable.
Is there an easier way to display the data?

View Replies View Related

Execute Command Lines

I need to be able to execute DOS command lines via ASP. This would include running an .exe along with passing commands/switches.The platform is Win2k/IIS.Is this easily accomplished with ASP?

View Replies View Related

Remove Text Box Lines

Is there a way to remove text box lines so that a user doesn't realize that information is sitting in a text box?

View Replies View Related

Record Lines Without Tables

I regularly code in standard asp with MySQL. I have a page which displays records with the background colour of each record table row in a different colour. There are 2 table rows per record. The problem is that at the end of each field in a row, the background
colour stops and then continues in the next field, i.e. the rows look like a brick wall design.

Is there anyway I can adjust my designs so that no matter how many fields or rows I have, the background colour is seamless and the visitor cannot see the start and end sections of each field ?

View Replies View Related

New Lines From Database To Browser

I entered the data in the database table but, when I print this data on html page thro' asp script. I don't see my new lines. I tried by storing <br>(html new line tag) in the database. Then I am getting only 1st word of each line.

View Replies View Related

Count Lines In A File

is it possible to count the number of lines i a text file, whith the filesystem object. is it just stream.countlines ?

View Replies View Related

Remove Multiple Lines?

i'm creating an app where the user will copy/paste BIG word documents into a textbox to save into db. problem is -> some of the documents have a lot of whitespace which needs removed.

anyone know of a script / method to remove multiple lines of whitespace? i.e. if i come aross a large portion of whitespace (extra lines) i want to remove them and leave only one <br /> line in it's place.

View Replies View Related

Writing Multiple Lines Into A Database

When inserting multiple lines into a database asp removes the whitespace so:

hello
all

becomes

hello all

is there any way to detect the return and inset it as intended ie:

hello
all

View Replies View Related

Putting One Line Of Code On Different Lines

I know this is Visual basic code, but the response should be global. I one line of code that stretches from here to Mars. Infact, it was used to guide the last probe there. How do I make it go over seperate lines? Code:

View Replies View Related

Merge Lines In A Text File

I am working with an old line-feed printer text file. There are characters in the first position of each line that tell the printer what to do, i.e. print this line and advance paper, print and do not advance. when processing this text file for conversion to another text file I can't seem to work out the code for merging two lines. For example,

Type: Location: Quantity:
+ 123 London 45000

After processing the line should look like this:
Type: 123 Location: London Quantity: 45000

I understand the concept but have no idea how to actually merge the two lines with code.

View Replies View Related

Print From ASP How To Break The 400 Lines Page

I have to make a print page that have 400 lines. How to break it in few pages? How to contrl it?

View Replies View Related

Display Data 20 Lines Per Page

how do i display data retrieved from a table 20 lines per page giving a 'next ' button at end of each page.

View Replies View Related

Loop Over Text File Lines

I have just registered as I have found this very useful saveas asp script but I want to modify it to read in a list of image url's from a text file and save them automatically
Can anyone help me with the looping code to do this?

View Replies View Related

Blank Lines When Writing To A File

When writing to a file, is there an equivalent to the HTML non-break space character? Using “ “ works okay if there are other characters on the line, but when you want several blank lines in a table, if you use “ “ these blank lines are ignored. Code:

View Replies View Related

Deleting Blank Lines From Text File

I have a text file being create with the FileSystemObject. It's being
built based on results from a SQL query. All this is working fine, but
so that I have a carriage return VBCRLF at the end of each row, I have
an empty row at the end of my text file. How do I delete this last line?

Code:

View Replies View Related

Asp Pages Randomly Showing As Blank White Pages

Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.

I enable server side and client side debugging, but no
errors showing up...

In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------

Any idea why it can happened and how to fix?

View Replies View Related

Retrieving

When a new record is inserted into access db it creates an id, how can I return this value for a record I have just created?

View Replies View Related

Retrieving Value

I have the following code in my form:

Response.Write("<form name='Testing'>");
Response.Write("<INPUT type=hidden id='Testing_txtbox'
name='Testing_txtbox' value='a simple test'>");
Response.Write("</form>");

If I type the following in the very next line, I get a value of
"undefined".

Response.Write("value="+Request.Form("Testing_txtbox"));

why this won't work. and how I can retrieve values of hidden controls via Server side code?

View Replies View Related

Retrieving XML DTD Doc

I have a DTD xml doc and need to read the data from it and display it using ASP.

View Replies View Related

Retrieving Name Tag From URL

I want to know if there is a way to retrieve the tag from the URL, I don't know if thats its name, so I'll just explain what it is:

showmsg.asp?FID=mn&ID=2467#2529

the tag, as I call it is what follows the # sign, the number 2529, in this case. so, is there a way I can retrieve the tag with ASP, by the request object, or any other way, any Ideas? Another thing I wanted to know, not related to this subject, is how do I change value of a textarea that is placed in another window with VBscript or JAVA. is it possible?

View Replies View Related

Retrieving Qty

I have three different tables I will be pulling stuff from: user_info, img_inv, activitylog:

user_info I will be using their ID and state
img_inv I will be using part number
activitylog I will be using part number and date

I'm trying to select the part number from the activities list and match it with the img_inv to make sure it still exist. If it exist I want it to do a total count of how many times it has been looked at by 7 states within a given quarter. Code:

View Replies View Related

Retrieving Cookie Value

I want to retrieve the value of a cookie to make a form a little more user friendly (our intranet is configured to set a cookie for User First Name, Last Name and Email when they log in)

Unfortunately I can't figure out how to retrieve the value of the cookie. I've been trying:

<%
Response.write Request.Cookies(UserLName)
%>

But it gives me an error - I used Checky to make sure the cookies are there and they do exist:

Name:mascot
Value: UserLName=Tarby

Can someone give me some advice?

View Replies View Related

Retrieving Values

i want some help in how to retrieve values from multiple selection listbox. i want the values retrived to be used in the search which i perform from the database. i m doing a search feature which u all often see in job search sites. so someone selects multiple cities to search in i want that to include that in my search query.

View Replies View Related

Retrieving Url Properties

Is there a way in asp to retrieve part of the URL and use it

say the url was

http://localhost/site/craig

is there anyway of retrieving the word craig so to use it in the page

This is because i could have other addresses that are for example

http://localhost/site/Jon

where i need to retrieve the word jon

View Replies View Related

Retrieving Values

I have a form that send values to a second page. i m trying to compare the values received from the form with other values retrieved from a database. so if a value already exists then an error message is displayed. in order to compare the values i need to print them on the second page but I m bit stuck with this. i used request.form("category") in order to retrieve the values from the form but it doesn t work.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved