1
我在VB.Net下面的代碼來獲得IE標籤網址:如何檢索VB.Net中的活動IE選項卡的URL?
Function getIEUrl() As List(Of String)
Try
Dim list As New List(Of String)
Dim sw As New ShellWindows()
For Each browser As InternetExplorer In New ShellWindows()
list.Add(browser.LocationURL)
Next
Return list
Catch ex As Exception
Return Nothing
End Try
End Function
我如何管理它只能得到有效標籤的網址是什麼?
在此先感謝!
我想沒有比遍歷每個都更好的解決方案,找到它,所以我接受了你的答案。謝謝! – Pho3nixHun