Re: IWebBrowser2 and Protected Mode
- From: "Max" <please@newsgroup>
- Date: Wed, 13 Dec 2006 16:56:49 +0200
Most likely you know this, but just to sort things out.
1. get_Document works only after your navigate for the first time.Before
that the document is null.
2. After you navigate to some URL you can not use the document immediately.
You have to wait for DocumentComplete event first.
These limitations are general, not Vista related.
"Mike" <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1582839B-6558-477B-B5E5-C95FC220E3F7@xxxxxxxxxxxxxxxx
Hello
I use the IWebBrowser2-Interface to access several browser functions like
Navigate for example.
Now I have the problem und Windows Vista, that if I turn on the protected
mode from the new IE7, the get_Document-Function do not work. With "do not
work" I mean that i simply has "no result", there is no page returned.
Now, because I left my code unchanged and i don't know exaclty if there
are
changes concerning IWebBrowser2 in combination with Vista and IE7, I would
like to ask if someone made the same experience.
Important to say: If I turn OFF the protected mode in IE7 under Vista,
there
is no problem with the "old" calls! Everything works fine, get_Document
delivers the data and everything is okay!
Has anyone a hint for me for that case?
Thank you and best regards
Mike
.
- Prev by Date: Re: Cancel BeforeNavigate2
- Next by Date: Re: Windows Authentication with Pop-ups
- Previous by thread: Cancel BeforeNavigate2
- Next by thread: System.UnauthorizedAccessException : Access is denied when calling click on an anchor object
- Index(es):
Relevant Pages
|
|