You have to set an reference but do not set an import because than your
program become terrible slow while editing. Just reference it everytime you
use the object (goes also terrible slow)
But a page from a AxWebBrowser is not a htm page, it is a collection of htm
pages.
You have to use the documentcomplete event for it and than use the e.pDisp
You have to cast it before placing it in the collection to
ShdocVW.Webbrowser.
I hope this helps?
Cor
How can I save a page loaded with AxWebBrowser into a winform as an htm
Thanks for your post.
Do you know where I can find more documentation about mshtml ?
I just need to save a page with the different graphics in local drive.
By the way what do you mean by "set an reference but do not set an import "
(my english is not really fluent..)
Thanks for your post.
Do you know where I can find more documentation about mshtml ?
I just need to save a page with the different graphics in local drive.
By the way what do you mean by "set an reference but do not set an import "
Hi,
I want to save only the pictures.
I use this code to parse them
Dim htImg As mshtml.HTMLImg
For Each htImg In AxWebBrowser1.Document.images
console.writeline( htImg.src) ' url
console.writeline(htImg.nameProp) ' FileName
Next
But I don't know how to individually save them
Stan
ru said:
If you have a AxWebBrowser control on your form, you can save the page like this:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.