VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



get all Form Item Names with webbrowser control

by Andrew PLaisted (1 Submission)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

This will get all Form Item Names with webbrowser control.

Rate get all Form Item Names with webbrowser control

Public Function GetAllFormNames(doc As HTMLDocument, Form As Integer) As String


 Dim innames(20) As String


 Dim max As Integer
 


 max = doc.Forms(Form).length
 


 For i = 0 To max


If Not (doc.Forms(Form).Item(i) Is Nothing) Then


innames(i) = doc.Forms(Form).Item(i).name  
 


   Debug.Print innames(i)


  End If


 Next i


End Function

Download this snippet    Add to My Saved Code

get all Form Item Names with webbrowser control Comments

No comments have been posted about get all Form Item Names with webbrowser control. Why not be the first to post a comment about get all Form Item Names with webbrowser control.

Post your comment

Subject:
Message:
0/1000 characters