Skip to main content

AccessTr.neT


Webbrowser Den Radiogroup Ta Seçili Değeri Alma

Webbrowser Den Radiogroup Ta Seçili Değeri Alma

#6
Alttaki kodu dener misiniz?

Private Sub Komut1_Click()
    Dim ie As Object, sag As Object, olu As Object
    Set ie = CreateObject("internetexplorer.application")
   
    With ie
        .Visible = False
        .Navigate CurrentProject.Path & "\radiogrupal.html"
        Do While .Busy: DoEvents: Loop
        Do While .ReadyState <> 4: DoEvents: Loop
    End With
    Set sag = ie.Document.getelementbyid("rdSag")
    Set olu = ie.Document.getelementbyid("rdOlu")
    If sag.Checked Then MsgBox "Sag secili"
    If olu.Checked Then MsgBox "Ölü secili"
    ie.Quit
    Set ie = Nothing: Set sag = Nothing: Set olu = Nothing
End Sub
.rar radioa grupal.rar (Dosya Boyutu: 206,94 KB | İndirme Sayısı: 1)

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
RE: Webbrowser Den Radiogroup Ta Seçili Değeri Alma - Yazar: feraz - 12/01/2021, 00:02
Task