How to Save Web Pages in WebBrowser1 using VB6?

It's not about saving the source code to text file..

It's the same as clicking File > Save Page As... in Firefox. :)

See third code segment in second post of this tutorial...

Good Luck

Option Explicit

      Private Sub Command1_Click()
      End Sub

      Private Sub Form_Load()
      WebBrowser1.Navigate2 ""
      End Sub

It works.. i can download the complete webpage :)

But.. can i hide the saving dialog? .. also the choosing where the webpages should be save?

I mean.. one-click then the webpage is saved on a specified path..

Keep reading that tutorial and now that you know the keywords it should make it easy for you with your friends (yahoo, google, ask, answers, bing).

Good Luck

I found something..

This is how to save a webpage with dialog..

Help me with SendKeys..



Edited 6 Years Ago by betabasic: n/a

This question has already been answered. Start a new discussion instead.