Skip to main content

AccessTr.neT


herhangi bir Web browserdan linki almak vb.

herhangi bir Web browserdan linki almak vb.

Çözüldü #7
bir de birinci kodun firefox için yazılmışı olsa o kadar işime yarayacak ki
şöyle bir kod buldum
Kod:
PublicClass Form1
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Get all opened IE instances  
Dim shellWindows As SHDocVw.ShellWindows = New SHDocVw.ShellWindowsClass()
'Iterate each IE instance/object  
Dim ie As SHDocVw.InternetExplorer
ForEach ie In shellWindows
' Get window title and URL of IE instance and display on ListBox  
            ListBox1.Items.Add(ie.LocationName & "  " & ie.LocationURL)
' Close/quit this IE instance
            ie.Quit()
Next ie
EndSub
EndClass

@benbendedeilem
Son Düzenleme: 11/11/2012, 11:48, Düzenleyen: accessman.
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
Cvp: herhangi bir Web browserdan linki almak vb. - Yazar: accessman - 11/11/2012, 11:24
Task