I'm trying to create a VB application that will open a web browser on a specific page (http://www.itam.mx/es/servicios/servicios.php), insert the login (Clave Única) and (NIP) password and click the Login button (ENTRAR) on the page, all this automatically.
I have tried this:
Dim explorador
explorador = CreateObject("I nternetExplorer .Application")
explorador.Navi gate("http://www.itam.mx/es/servicios/servicios.php")
explorador.Visi ble = True
explorador.Docu ment.All.Item(" txt_clave").Val ue = ""
explorador.Docu ment.All.Item(" txt_nip").Value = ""
explorador.Docu ment.All.Item(" entrar").Click( )
but it doesn't works at all. And I don´t have any other ideas on how to do this.
...thanks.
I have tried this:
Dim explorador
explorador = CreateObject("I nternetExplorer .Application")
explorador.Navi gate("http://www.itam.mx/es/servicios/servicios.php")
explorador.Visi ble = True
explorador.Docu ment.All.Item(" txt_clave").Val ue = ""
explorador.Docu ment.All.Item(" txt_nip").Value = ""
explorador.Docu ment.All.Item(" entrar").Click( )
but it doesn't works at all. And I don´t have any other ideas on how to do this.
...thanks.
Comment