开发者

Starting internet explorer in open tab

开发者 https://www.devze.com 2023-03-04 22:13 出处:网络
If System.Diagnostics.Process.Start(\"IEXPLORE.EXE\", url); opens a new browser session, how do you open a new browser window in a开发者_运维百科n existing version of internet explorer?

If System.Diagnostics.Process.Start("IEXPLORE.EXE", url); opens a new browser session, how do you open a new browser window in a开发者_运维百科n existing version of internet explorer?

Thanks


Try Process.start(url) it will open up a new Tab if browser is already running, otherwise it will open default browser and shows the Page.


Check this out

Activate existing browser window with given URL from C# application (without triggering reload)

Hope that helps

0

精彩评论

暂无评论...
验证码 换一张
取 消