herhangi bir Web browserdan linki almak vb.

1 2
11/11/2012, 11:24

accessman

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
11/11/2012, 14:55

esrefigit

Sana verdiğim kod ile aynı şey bu kod sadece kulagi tersten tutma farki firefox chrome olayına gelince vb da bir şey yapscak isen mutlaka onun referansı olmasi lazim ie de link leri alabiliyorsun çunku referans olarak ulasabiliyorsun
12/11/2012, 12:56

accessman

referansı nasıl ekleyebiliriz
1 2