25659

InternetExplorer.Application with -nomerge switch?

Question:

I'm trying to create a InternetExplorer.Application object, but I want IE to start with the -nomerge switch. Is there any way of doing this?

Answer1:

Similar question asked <a href="https://stackoverflow.com/questions/503041/internetexplorer-application-object-and-cookie-container" rel="nofollow"> here</a> a while ago & it doesn't seem possible with the usual InternetExplorer.Application object; the answer posted suggested either using WebBrowser or alternative ways of clearing session cookies

However there's also another option that would have a similar effect using the InPrivate mode - if you're using VB.NET

From visualbasic.about.com:

<blockquote>

In VB.NET, you can add a reference to ShDocVw.dll (in Windows/System32) using the Browse > tab in Add Reference) and open an instance of IE 8 using the new "InPrivate" mode.

</blockquote> > Dim TheBrowser = New SHDocVw.InternetExplorerMedium > TheBrowser.Visible = True > TheBrowser.Navigate( _ > URL:="http://visualbasic.about.com")

Recommend

  • TFS API Add multiple test points and results to one test run
  • $http returns error when response is 304 (Not Modified) in angularjs
  • php ssh2_exec not executing 'su' command
  • Can a JSP template be used from within Java?
  • Rails Model inheritance in forms
  • Crystal Report rendered differently on server and development machine
  • How I can have previewing permanently when capture video for android?
  • System.Runtime.InteropServices.COMException (0x800A1436)
  • Perl is respecting '
  • Meteor's cordova: geolocation plugin doesn't work on mobile
  • how to display individual listings? Ruby on Rails
  • Get posts from all categories except one category
  • TYPO3 distribution.png issue when posting images
  • Sending EoS to filesink while removing branch from tee
  • Substatemachine
  • HTTP Status 500 - Error instantiating servlet class org.springframework.web.servlet.DispatcherServle
  • Contact us email sending is not working in codeigniter php
  • How do you save a Linq object if you don't have its data context?
  • Split an Array into 3 arrays [duplicate]
  • Get Network Interface Names and Set All to DHCP Batch Script
  • Integrating Yelp API v2 into iOS 7 app
  • Starting Bootstrap tour with a button after ending tour once
  • Extract the data specified in brackets '[ ]' from a string message in python
  • Xamarin.Forms: How To Populate A Pie Chart From Web API Data?
  • How to order the ties in data so that the previously observed value appears first
  • Working with codeception and laravel
  • Insert statement not working using execute(array()) of PDO Extension
  • Ways of filling 10 places with number from [1..10] such that digit at ith place has value atmost 1 m
  • Generate a runnable jar and include libraries in it with Maven
  • How to run Daphne Server (Django Channels) & workers in the background?
  • Adding Dynamic Row and Data on Checkbox Click
  • Reader monad - how does it conform to Monad interface?
  • Pick Out Specific Number from Array? [duplicate]
  • How to make Rss News Reader application in android …? [closed]
  • How to run chrome.tabs.insertCSS from the background page on each page?
  • How to include associated objects using gon in Rails/jQuery
  • Print Longitude and Latitude in textbox Android
  • Bad automatic Triangulation with Mayavi for coloring a surface known only by its corner
  • ssh remote server login script
  • Jersey serializes character value to ASCII equivalent numeric string