10-22-2005, 02:05 PM
Is there any way to load a web page, then enter values into the boxes visible on the page? And if so, is there a way to click a button as well? (Submit)

10-22-2005, 02:14 PM
Are you talking about the web browser control or an external web brower like Internet Explorer or Firefox?

You can do it easily with the VB web browser control like this:

wb.Document.Forms(0).email.Value = email
wb.Document.Forms(0).passwd.Value = passwd

wb is the name of the web browser control, and email, passwd, and submit are names of fields in a form on a web page in the web browser control. Find the names of the fields to enter text in to them, and the submit button is pressed simply by the use of .submit

Is this what you are looking for?

10-22-2005, 02:15 PM
yes it is, thanks man

10-22-2005, 02:28 PM
No problem.

10-22-2005, 02:52 PM
Ok wait a second, that wont work for what im trying to do. The form names for the forms i wanna change are values like ".password" instead of "password" theres a period in front. And when u run it, u cant have:

wb.Document.Forms(0)..password.Value = "Hi"

so what should i do

10-22-2005, 04:31 PM
Try something like this:wb.Document.All(".password").Value = "Hi"

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum