WinBatch Technical Support Forum

Archived Boards => COM Automation and dotNet => Topic started by: markgolay on October 21, 2015, 07:48:12 am

Title: How can ObjectCreate IE with Inprivate ?
Post by: markgolay on October 21, 2015, 07:48:12 am
How can ObjectCreate IE with Inprivate ?

Browser = ObjectCreate("InternetExplorer.Application")
 browser.navigate(url)
Title: Re: How can ObjectCreate IE with Inprivate ?
Post by: stanl 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.
Title: Re: How can ObjectCreate IE with Inprivate ?
Post by: td 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.