Author Topic: How can ObjectCreate IE with Inprivate ?  (Read 1130 times)

markgolay

  • Newbie
  • *
  • Posts: 13
How can ObjectCreate IE with Inprivate ?
« on: October 21, 2015, 07:48:12 am »
How can ObjectCreate IE with Inprivate ?

Browser = ObjectCreate("InternetExplorer.Application")
 browser.navigate(url)

stanl

  • Pundit
  • *****
  • Posts: 630
Re: How can ObjectCreate IE with Inprivate ?
« Reply #1 on: October 21, 2015, 09:32:36 am »
Don't think it can be done with COM.  You could Run the shell with -inprivate parameter, or possibly Open the ie object then send a postmessage to the window to enable inprivate.

td

  • Tech Support
  • *****
  • Posts: 2154
    • WinBatch
Re: How can ObjectCreate IE with Inprivate ?
« Reply #2 on: October 21, 2015, 01:34:55 pm »
For some versions of IE and Windows there is a registry setting that will enable 'inprivate' by default.  The problem would seem to be sorting out where the setting resides in the registry on a system with a given version combination.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates