Advertisement
6_2008-2009 Internet/ HTML #203863

get all Form Item Names with webbrowser control

This will get all Form Item Names with webbrowser control.

AI

AI-sammanfattning: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Källkod
original-source
Public Function GetAllFormNames(doc As HTMLDocument, Form As Integer) As String
<p>
 Dim innames(20) As String
<p>
 Dim max As Integer
 <p>
 max = doc.Forms(Form).length
 <p>
 For i = 0 To max
<p>
If Not (doc.Forms(Form).Item(i) Is Nothing) Then
<p>
innames(i) = doc.Forms(Form).Item(i).name  
 <p>
   Debug.Print innames(i)
<p>
  End If
<p>
 Next i
<p>
End Function
Originalkommentarer (3)
Återställd från Wayback Machine