Prev: Regular expression : f(" l'éléphant blEu-azUr ") = " L'Éléphant Bleu-Azur "
Next: Script for uninstalling an Outlook add-in administratively (.exe)
From: LJB on 25 Jan 2010 13:17 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 29 Jan 2010 17:09 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 30 Jan 2010 07:45 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 1 Feb 2010 12:57
"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 |