![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | login via VB or VBA With: http://www.cerved.com/xportal/web/ita/ Click on "Area Clienti" (on the left of home page) appear the tipical form to login. Ho to insert user and psw in login form and press ok? Possible to with VB classic or VBA or VBS??? note: Now i just have a code to navigate in IE |
My System Specs![]() |
| | #2 (permalink) |
| | Re: login via VB or VBA On Jul 23, 4:27 am, sal21 <sa...@xxxxxx> wrote: Quote: > With:http://www.cerved.com/xportal/web/ita/ > > Click on "Area Clienti" (on the left of home page) appear the tipical form > to login. > > Ho to insert user and psw in login form and press ok? > Possible to with VB classic or VBA or VBS??? > > note: > Now i just have a code to navigate in IE not your native language, but it would sure help if you explained what you have tried and why that isn't working for you. In the past, others have suggested the use of Sendkeys to do this job. Below is a version that seemed to work for me, though I do not have valid credentials to test with ... sURL = "https://www.cerved.com/xportal/web/common/protected" _ & "/abbonati/controlloProfilo.jsp" sUserID = "IDString" ' <- your ID goes here sPassword = "Password" ' <- your password goes here set oIE = CreateObject("InternetExplorer.Application") With CreateObject("InternetExplorer.Application") .Navigate sURL With CreateObject("Wscript.Shell") bFound = False for i = 1 to 10 ' try 10 times if .AppActivate("www.cerved.com") then bFound = True .sendkeys sUserID wsh.sleep 100 ' delay 0.1 seconds .sendkeys "{TAB}" wsh.sleep 200 ' delay 0.2 seconds .sendkeys sPassword wsh.sleep 200 ' delay 0.2 seconds .sendkeys "{TAB 2}{Enter}" exit for end if if not bFound then wsh.sleep 250 ' wait one-quarter of a second Next if not bFound then wsh.echo "Login dialog not found." end if end with .visible = true end with If it doesn't work for you, please expalin the problem in as much detail as possible so someone can assist you more. Tom Lavedas =========== http://members.cox.net/tglbatch/wsh/ |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| most effective way via javascript login scripts to allow login rightsto all our servers to our Network Team group | VB Script | |||
| 2 identical profiles at login, and login error on startup. | Software | |||
| login error, screensaver can't run on login screen, Direct X 9.0 not recognized | Graphic cards | |||
| Login Completely Blocked w/User Profile Service Failed the Login | Vista account administration | |||
| Urgent - Windows Mail keeps asking for confirmation of login and will not receive (login is correct) | Vista mail | |||