Entering Data into Web Forms?

nomaam

Newcomer
Joined
May 16, 2005
Messages
3
Hello,

I am using VB.NET and am working within a Windows Form.

Within my form i have a web consol where i navigate to a website that contains a web form. I would like to enter data into the form. Currently i use this method which works well:

web1.Document.forms("formname").fieldname.value = "testdata"

This works well, but my problem is that i am currently working with a web form that has no name, how would i enter data into a web form with no name?

I have tried many variations with no success, such as the following:

web1.Document.forms("form").fieldname.value = "testdata"
web1.Document.forms("").fieldname.value = "testdata"
web1.Document.forms().fieldname.value = "testdata"
web1.Document.forms.fieldname.value = "testdata"
web1.Document.fieldname.value = "testdata"

Could someone suggest a way to enter data into a web form that has no name?

Thanks.
 
Back
Top