Groups | Blog | Home
all groups > inetserver asp general > january 2005 >

inetserver asp general : Write information form a comma separated text file onto an ASP pag


Roundy
1/31/2005 1:01:07 PM
My task seems so simple, but I can't seem to determine how to do what I want
to do.

I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page to reload every
10 seconds so that any updates to the text file would be relfected on the web
Curt_C [MVP]
1/31/2005 3:10:12 PM
which part is the issue?

As for reading the file, how far have you gotten? Opening it? Reading it
all? Reading a line?
As for refreshing, have you tried? used the meta refresh?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Roundy
2/1/2005 10:21:06 AM
How do I write a meta refresh.

[quoted text, click to view]
teknohippy
2/1/2005 12:13:03 PM
On Mon, 31 Jan 2005 15:10:12 -0600, "Curt_C [MVP]"
[quoted text, click to view]

I got the feeling he hadn't started.



--
teknohippy
2/1/2005 12:14:13 PM
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
[quoted text, click to view]

Use the FSO(File System Object) to open the file and read it in.

Parse it in whatever way takes your fancy.

Present it to the browser.

Stick a 10 second meta refresh in the head.



--
Curt_C [MVP]
2/1/2005 1:20:55 PM
exactly.... which is why I post the way I do sometimes :}
Make the user TRY first... that's my theory, otherwise we'd be writing it
for em, and if that's the case I want to get PAID

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Adrienne
2/1/2005 6:46:41 PM
Gazing into my crystal ball I observed =?Utf-8?B?Um91bmR5?=
<Roundy@discussions.microsoft.com> writing in
news:CB745810-A359-4DDF-AC0A-F18B6F85DE3E@microsoft.com:

[quoted text, click to view]

Google <http://www.google.com/search?q=meta+refresh&sourceid=opera&num=50
&ie=utf-8&oe=utf-8> brought up 762,000 results for meta refresh.


--
Adrienne Boswell
http://www.cavalcade-of-coding.info
jeff.nospam NO[at]SPAM zina.com
2/3/2005 10:33:30 PM
On Mon, 31 Jan 2005 13:01:07 -0800, Roundy
[quoted text, click to view]

That's possibly not the best method, but if you're desperate:

http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForMicrosoftJetText

From there, treat it like a database.

Refresh:

<HEAD>
<META HTTP-EQUIV="refresh" CONTENT="10"
</HEAD>

teknohippy
2/4/2005 12:33:17 PM
On Tue, 1 Feb 2005 13:20:55 -0600, "Curt_C [MVP]"
[quoted text, click to view]

Sometimes I internally struggle with the decision over whether to
introduce their browser to google, or a bat to their face :)

If you know what I mean :)

<grins>

I

--
AddThis Social Bookmark Button