I would like to check if a particular web page is opened in the default browser, but I really have no idea how to do so. So far, I have use Process.Start("xxx") to open the page I wanted in the default browser.
Dim website As String
website = "http://www.google.com"
'If http://www.google.com is not opened
Try
Process.Start(website)
Catch ex As Exception
MsgBox("Something wrong happened" & vbCrLf & ex.Message, MsgBoxStyle.OkOnly, "Cannot open the page")
End Try
In all the solutions I've seen so far, this is done by specify the browser...