Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Saving Webpages Automatically

Posted on 2004-10-25
2
Medium Priority
?
187 Views
Last Modified: 2010-05-02
I want to be able to type in to a textbox a website and then it downloads all the images and the page to my harddrive, the same as it would if you went to File>Save As... in IE
0
Comment
Question by:burnttime
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 10

Expert Comment

by:anv
ID: 12407551
try this..

use Web Browser control in ur application...which will open the link that u type into a textbox...

place a button on that form containing web browser control and add this code..

Private Sub SaveAsButtonClick()

    WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT

end sub

if u want to automate i.e u dont want the user to clkick on any button or so..then add above code in the Document_complete event..of the web browser control

like
sub webBrowser1_DownloadComplete()
    while webbrowser1.Busy  'ie. Web broswer has not yet finished navigating          to 'the ''desired link..
         DoEvents
    wend
 WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT
end sub


0
 
LVL 10

Accepted Solution

by:
anv earned 1200 total points
ID: 12407555
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question