Re: How do you retrieve a page and not navigate to it?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Wed, 21 Sep 2005 22:23:33 -0400
<StevenGWebster@xxxxxxxxx> wrote in message
news:1127351650.057176.251670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I've got a user control that loads from a web page. Inside the control
> I get access to the SHDocVw.InternetExplorer object that is rendering
> the page and displaying my control. Depending on a option I need to
> pull another page off of the server. I can't find a method to GET a
> page.
See UrlDownloadToFile, UrlOpenPullStream et al.
> Another option is using WebRequest and GetResponse. The problem here
> is
> that the user has entered UserName & password when the original page
> was requested and I need to maintain those credentials. Is it possible
> to get the credentials from the InternetExplorer object?
No way I know of. But if you pass your IUnknown pointer to one of the
Url* functions I mentioned, they will be picked up. If you are
interested in how this magic happens, see
http://msdn.microsoft.com/workshop/components/com/data_retrieval.asp
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- How do you retrieve a page and not navigate to it?
- From: StevenGWebster
- How do you retrieve a page and not navigate to it?
- Prev by Date: How do you retrieve a page and not navigate to it?
- Next by Date: Writing an Internet Explorer plugin (similar to the Google toolbar)
- Previous by thread: How do you retrieve a page and not navigate to it?
- Next by thread: Writing an Internet Explorer plugin (similar to the Google toolbar)
- Index(es):
Relevant Pages
|
|