|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Open an ASP page and save as HTML
I have been working on a passdown system for work and I need to figure out a way to open an asp page and then save it as html so that I have a static version of the information at a certain time and date for the archives. The ASP page has a lot of html already built into it and then it pulls data from a database for some of the information and tables. I know I can use Excel to import a Web page and then save it as an html page, but it totally screws up the formating of the page.
Is there any way that I could do this with an ASP page or better yet something that I can schedule to run from the server at certain times of day? Doug R |
|
#2
|
|||
|
|||
|
crude, but this will work, execute the ASP page, rick click View Source. Save the file as whatever.html
This way you'll get the HTML and the results of your queries, but no graphics unless you store them in relation to the HTML file. This is fine as long as you don't have to do it often.
__________________
Ask me about my m8y |
|
#3
|
||||
|
||||
|
Or perhaps use FSO somehow:
FileSystemObject http://www.4guysfromrolla.com/webte...ileSystemObject 5-part FAQ
__________________
J. Paul Schmidt www.Bullschmidt.com - Freelance Web and Database Developer www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Open an ASP page and save as HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|