Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


How to save website using InternetExplorer

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1159
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to save website using InternetExplorer
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 How to save website using InternetExplorer - 7/20/2004 2:46:12 PM   
  pgeorge64

 

Posts: 1
Score: 0
Joined: 7/20/2004
From:
Status: offline
Can someone help with a script that uses InternetExplorer object (or WebBrowser object) and mimics the File->Save As command to save it in a file?
Something like:
set ie=createobject("InternetExplorer.Application")
ie.navigate "http://www.yahoo.com"
Do while ie.busy: x=x+1: loop
set doc=ie.Document
' The following does not work
doc.SaveAs "d:\temp\html.html"
' the following prompts for a file name
doc.execCommand "SaveAs","d:\temp\yahoo.html"

The Save As command from IE saves all the images etc.

Appreciate the help
P. George
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to save website using InternetExplorer Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts