viewpoint-particle

Author Topic: How can ObjectCreate IE with Inprivate ?  (Read 4785 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: 1800
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: 4354
    • 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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade