问题描述
我正在开发VB.NET Windows应用程序.然后,我将单击一个按钮,将打开一个网站,例如"www.google.com".之后,我最小化了该URL,并开始使用VB.NET应用程序.再次,我将单击Windows窗体中的按钮,它将再次在现有浏览器中打开新的浏览器或选项卡.但是我需要检查浏览器是否已经有一个Google网站.我们需要在同一浏览器中打开该Google,而不是在其他浏览器或选项卡中打开.我该怎么做?
我使用"process.start("http://www.google.com")
"代码从VB.NET打开网站.
有什么想法,请让我知道.
提前非常感谢.
Hi,
I am developing a VB.NET Windows application. From that, I will click one button that will open a website for example "www.google.com". After that I minimized that URL and started working on the VB.NET application. Once again, I will click the button in Windows Form that will once again open a new browser or tab in the existing browser. But I need to check if the browser already has a Google site. We need to open that Google in the same browser, not in a different browser or tab... How can I do this?
I used "process.start("http://www.google.com")
" code to open the website from VB.NET.
Any ideas, please let me know.
Thanks a lot in advance.
推荐答案
这篇关于在同一浏览器中打开URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!