本文介绍了InternetExplorer.Application与-nomerge开关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建一个InternetExplorer.Application对象,但我想IE开始与-nomerge开关。有没有办法这样做的?

解决方案

类似的问题问这里前一阵子和放大器;它似乎并不可能与通常的InternetExplorer.Application对象;发布答案建议要么采用清除会话cookie的web浏览器或其他方法

不过有也将使用的InPrivate模式有类似作用的另一种选择 - 如果你使用VB.NET

从visualbasic.about.com:

 >昏暗TheBrowser =新SHDocVw.InternetExplorerMedium
> TheBrowser.Visible = TRUE
> TheBrowser.Navigate(_
>网址:=htt​​p://visualbasic.about.com)
 

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?

解决方案

Similar question asked here 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:

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

这篇关于InternetExplorer.Application与-nomerge开关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 18:00