Re: IWebBrowser2 and Protected Mode



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



.



Relevant Pages

  • Re: Microsoft Firewall vs ????
    ... who wanted the Wintel notebook didn't manage to prepare the pre-made IE exploits fast enough. ... IE7 on Vista runs in protected mode and is the most secure browser there is because of it. ...
    (comp.security.firewalls)
  • Re: Microsoft Firewall vs ????
    ... who wanted the Wintel notebook didn't manage to prepare the pre-made IE exploits fast enough. ... IE7 on Vista runs in protected mode and is the most secure browser there is because of it. ...
    (comp.security.firewalls)
  • Re: New instance of IE in vista
    ... it helped to turn off protected mode in IE options. ... {navigate to url} ... but there is problem on 1 vista system (I've tested it ... automation is failing ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Outlook
    ... Mit IE7 unter Vista gab's ein Problem wegen ... Protected Mode. ... Evtl. ...
    (microsoft.public.de.fox)
  • Re: Vista WH_JOURNALPLAYBACK
    ... He's looking to see if anyone has used the journal hook and is experiencing problems on ... Vista and perhaps XP Pro with IE7, ...
    (microsoft.public.vc.mfc)