Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser Field enumeration
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00934288
Message ID:
00934683
Views:
20
This message has been marked as the solution to the initial question of the thread.
Troy,

Try this on for size:
oIE = createobject( "internetexplorer.application" )

oIE.Navigate( "http://www.google.com" )
do while ( oIE.Busy )
   doevents
enddo

loDoc = oIE.Document
loForm = loDoc.forms(0)

for i = 0 to loForm.Length-1
   ? loForm.Item(i).Name, loform.Item(i).Value
endfor
>How can I enumerate thru the form fields in a web browser active x control?
>
>I can get to the browser's form's items count, but I need to get/set the name(ID) and value for each of those inputs and selections.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform