webbrowser control save web page 
Author Message
 webbrowser control save web page

HI,
I need to save a page using the webbrowser control.
Anybody have an example code for doing this?

Thanks
kurgin

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.*-*-*.com/ - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



Fri, 06 Dec 2002 03:00:00 GMT  
 webbrowser control save web page
Hi,

kurgin schrieb:

Quote:
> I need to save a page using the webbrowser control.
> Anybody have an example code for doing this?

It's different, if you want the user to type the filename to save. If
so, try the following:

WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER

If _you_ want to specify the filename:

WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER,
YourFileName

HTH

Chris
--
Christopher Kleinheitz Offenburg GERMANY
Die Welt ist eine Datenbank



Sat, 07 Dec 2002 03:00:00 GMT  
 webbrowser control save web page
Thanks very much. But it still prompt me to accept the FileName i have
given.
Can webbrowser save file without prompt?
Quote:
> Hi,

> kurgin schrieb:

> > I need to save a page using the webbrowser control.
> > Anybody have an example code for doing this?

> It's different, if you want the user to type the filename to save. If
> so, try the following:

> WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER

> If _you_ want to specify the filename:

> WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER,
> YourFileName

> HTH

> Chris
> --
> Christopher Kleinheitz Offenburg GERMANY
> Die Welt ist eine Datenbank



Sun, 08 Dec 2002 03:00:00 GMT  
 webbrowser control save web page
Thanks very much. But it still prompt me to accept the FileName i have
given.
Can webbrowser save file without prompt?
Quote:
> Hi,

> kurgin schrieb:

> > I need to save a page using the webbrowser control.
> > Anybody have an example code for doing this?

> It's different, if you want the user to type the filename to save. If
> so, try the following:

> WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER

> If _you_ want to specify the filename:

> WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER,
> YourFileName

> HTH

> Chris
> --
> Christopher Kleinheitz Offenburg GERMANY
> Die Welt ist eine Datenbank



Sun, 08 Dec 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. new problem of webbrowser control save web page

2. Saving web pages to file using webBrowser or inet control

3. Saving web page with images using the WebBrowser control

4. Saving web pages with WebBrowser control

5. Saving a complete Web Page from the WebBrowser control

6. Webbrowser control - Saving a web page

7. WebBrowser Ctl: save web page to local machine

8. Save WebBrowser's web page

9. Help saving web page with web control?

10. Directly referencing an element on a web page in the WebBrowser control

11. Saving Pages Using the WebBrowser Control ???

12. How to capture Web Page to Bitmap with Webbrowser control

 

 
Powered by phpBB® Forum Software