Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 29th, 2004, 02:23 AM
dougr5150 dougr5150 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 4 dougr5150 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 4 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old May 10th, 2004, 02:19 PM
m8y m8y is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 40 m8y User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 18 sec
Reputation Power: 5
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

Reply With Quote
  #3  
Old June 29th, 2004, 12:41 AM
Bullschmidt's Avatar
Bullschmidt Bullschmidt is offline
Guru
ASP Free Novice (500 - 999 posts)
 
Join Date: May 2003
Location: USA
Posts: 876 Bullschmidt User rank is Corporal (100 - 500 Reputation Level)Bullschmidt User rank is Corporal (100 - 500 Reputation Level)Bullschmidt User rank is Corporal (100 - 500 Reputation Level)Bullschmidt User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 8 h 27 m 34 sec
Reputation Power: 9
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

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Open an ASP page and save as HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway