Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Automation

Status
Not open for further replies.

jmcd0719

Programmer
Jun 13, 2001
37
US
I have written the following (foxpro)code to automatically login to a particular website (the site name is changed below) and it works fine.

The question I have is two fold, one is there a place where all automation methods, controls,commands for InternetExplorer.Application, etc. is listed, (Microsoft's site blows).

Secondly, if I have a form that I want to populate on the web in a certain position, but I do not know what the objectname's name is, is there a way to fill it in. The webpage after I login shows only a coldfusion program running the form without any specific object name.

Thanks in advance.

oIE = CreateObject("InternetExplorer.Application")
oIE.Visible = .T.
oIE.Navigate("oie.document.loginForm.loginName.value="login"
oIE.document.loginForm.password.Value = "password"
oIE.Document.Forms(0).Submit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top