如何在vb.net中的Web浏览器控件中处理新窗口

如何在vb.net中的Web浏览器控件中处理新窗口

问题描述:

嗨那里,

我在我的Windows vb.net应用程序中使用webBrowser控件,但我遇到了一种情况,在网页上有一个按钮,当我点击该按钮时它会打开新模态poup但我不知道如何在Web浏览器中处理该模式弹出窗口,请帮助...

Hi There,
I am using webBrowser control in my Windows vb.net application ,but I am stuck at one situation that, on webpage one button when i click on that button it opens new Modal poup but I have not Idea how to handle that modal popup in web browser, please help out...

这个CodeProject文章可能会有所帮助 - 它在C#但是那里如果你不能将代码翻译成VB的网站。

扩展的.NET 2.0 WebBrowser控件 [ ^ ]



此处有一堆链接 msdn post [ ^ ]
This CodeProject article may help - it's in C# but there are sites that will translate the code to VB if you can't.
Extended .NET 2.0 WebBrowser Control[^]

And there are a bunch of links on this msdn post[^]