473,287 Members | 3,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

display page counter in HTML page

I have ASP file that reads in the text file that holds the page count. It then increments by 1 and writes it back to the text file. This file works by itself when I type http:\\localhost\updatecounter.asp. I need to know how to access this value in a HTML page. I tried to use the ASP code inside the HTML page within VBScript but the opentextfile etc didn't work. I also used the include in the HTML page. Any ideas? I use IIS 7.5 and Windows 7 Professional.
Dec 8 '11 #1
1 1892
read http://w3schools.com/asp/asp_ref_textstream.asp
you have to read the textfile.
Dec 15 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: vishal | last post by:
i am making an application. the user can give description and that description is stored in database and then the description is shown on html page. suppose the user has written "<b>hello</b>"...
3
by: Al | last post by:
Hi Many thanks in advacne, does anyone know how to display contenet of a Html page on a VB form.? can this be display in a RichRextBox? if yet how.. Many thank Al
0
by: uto | last post by:
i'd like to attach some aspx page in HTML template HTML template consist of Header,Content and Footer. i just wanna show Html page appear consist of Header, aspx page and Footer is it...
3
by: Steve | last post by:
My question is both .net and javascript and I thought it would be best posted here. I have a pop up html page (it just has to be html) with a textbox and a button next to it. When the user...
0
by: fltcpt | last post by:
Alot of people have asked how to create a link in HTML so that clicking it opens webfolder, and I guess it is using the anchorclick/folder property. I want to do the reverse, clicking on a...
0
by: halex | last post by:
Hello, I need to save to file HTML page from my complex ASPX page (it has MasterPage, MainContainer, UserControls, CSS, JS files...). So, I need to override Render method to to this but I did not...
5
by: bohemian50 | last post by:
i want to convert an aspx page into html page so that i can use the converter to convert it into the tiff format .If you have any suitable code please help me with this in C#
5
by: teddarr | last post by:
I have this product catalog. I am to scroll through the catalog on the HTML page and use data from the XML page to display the different products with a picture of each. I have the data and the...
1
by: bhaveshkrana | last post by:
Dear Sir, It is possible to convert .aspx page into .html page at the time on page render from server to client, if yes then how describe in detail with example?
2
by: Sheena777 | last post by:
Is there any way of displaying an asp page with out deploying it or running it off a port. I am trying to display the page like you would display an html page. Is there any way to treat the asp page...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.