From: LJB on
I have vbscript that starts IE with Set oIE =
CreateObject("InternetExplorer.Application"). How do I do the same but in
protected mode?

Thank,
LJB


From: LikeToCode on
IE "Protected Mode" is only available and on by default in Vista and up
because it is based on new security features in those OSs.

"LJB" wrote:

> I have vbscript that starts IE with Set oIE =
> CreateObject("InternetExplorer.Application"). How do I do the same but in
> protected mode?
>
> Thank,
> LJB
>
>
> .
>
From: "Dave "Crash" Dummy" on
LikeToCode wrote:
> IE "Protected Mode" is only available and on by default in Vista and
> up because it is based on new security features in those OSs.
>
> "LJB" wrote:
>
>> I have vbscript that starts IE with Set oIE =
>> CreateObject("InternetExplorer.Application"). How do I do the same
>> but in protected mode?

As this code snippet will show, Protected Mode is not on by default when
a page is opened with script.

Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://www.msn.com/"
Do Until IE.readyState = 4 : WScript.Sleep 10 : Loop
IE.visible = True

--
Crash

"It is not necessary to change. Survival is not mandatory."
~ W. Edwards Deming ~
From: LJB on

"Dave "Crash" Dummy" <invalid(a)invalid.invalid> wrote in message
news:ORV8n.11151$3n2.2840(a)newsfe01.iad...
> LikeToCode wrote:
>> IE "Protected Mode" is only available and on by default in Vista and up
>> because it is based on new security features in those OSs.
>>
>> "LJB" wrote:
>>
>>> I have vbscript that starts IE with Set oIE =
>>> CreateObject("InternetExplorer.Application"). How do I do the same but
>>> in protected mode?
>
> As this code snippet will show, Protected Mode is not on by default when
> a page is opened with script.
>
> Set IE = CreateObject("InternetExplorer.Application")
> IE.Navigate "http://www.msn.com/"
> Do Until IE.readyState = 4 : WScript.Sleep 10 : Loop
> IE.visible = True
>
> --
> Crash
>
> "It is not necessary to change. Survival is not mandatory."
> ~ W. Edwards Deming ~

The only thing I have found so far is to manually open IE "in private" then
vbscript can open additional copies or tabs, also "in private".

LJB