Re: login from web page....
It's not clear what you want to do, but you probably don't want to use VBA or VB6. Authenticating against a system can only be done when you know what is expected. What you see is usually not what you get.
Re: login from web page....
Quote:
Originally Posted by
dglienna
It's not clear what you want to do, but you probably don't want to use VBA or VB6. Authenticating against a system can only be done when you know what is expected. What you see is usually not what you get.
Sorry for my terrible english!;-)
In effect when i click on Area Clienti (see attached image) appear the tipical windows form for autenticatin.
I want to insert pasword and username and press ok via Vb6 code.
This is the http:\\www.cerved.it
Re: login from web page....
Have you tried sendkeys ?
Re: login from web page....
Quote:
Originally Posted by
DataMiser
Have you tried sendkeys ?
??? sendkeys ???
in other case have you understand my prob?
Tks for patience...
Re: login from web page....
Looks like a Windows Server. Maybe you could use the NET USE command to log in to a file share? Otherwise, change your username/password on your pc to the one that you want to log in as. If they match, your OS will supply them when asked.
Re: login from web page....
Quote:
Originally Posted by
dglienna
Looks like a Windows Server. Maybe you could use the NET USE command to log in to a file share? Otherwise, change your username/password on your pc to the one that you want to log in as. If they match, your OS will supply them when asked.
Maybe you could use the NET USE command to log in to a file share????
In effect you suggest me to send via vb6 a command NET USE, similar:
http:\\www.cerced.it\USE="xxxx", PASSWORD="YYYY" ecc....
Re: login from web page....
hi,
you can use HTML DOM for this.
you can look at the html source and find out following three things;
1. userid text box id
2. password text box ix
3. the button you click to autheticate normally called login.
IE.document.Forms.frmLogin.userid.Value = Text1.Text IE.document.Forms.frmLogin.Password.Value = Text2.Text
IE.document.Forms.frmLogin.loginSubmit.Click
here ;
frmlogin is page name, you can get this from DOM inspector.
userid, password are text boxes where you enter your userid and password.
and loginsubmit is login command button name.
note : i have used this in VB6. not sure if it'll work in dot net.
Hope this helps.
edit :
you may also want to take a look at this : http://msdn.microsoft.com/en-us/libr...45(VS.85).aspx
Re: login from web page....
Quote:
Originally Posted by
adbanginwar
hi,
you can use HTML DOM for this.
you can look at the html source and find out following three things;
1. userid text box id
2. password text box ix
3. the button you click to autheticate normally called login.
IE.document.Forms.frmLogin.userid.Value = Text1.Text IE.document.Forms.frmLogin.Password.Value = Text2.Text
IE.document.Forms.frmLogin.loginSubmit.Click
here ;
frmlogin is page name, you can get this from DOM inspector.
userid, password are text boxes where you enter your userid and password.
and loginsubmit is login command button name.
note : i have used this in VB6. not sure if it'll work in dot net.
Hope this helps.
edit :
you may also want to take a look at this :
http://msdn.microsoft.com/en-us/libr...45(VS.85).aspx
Hi friend tks for suggestion...but i work with VB& classic not with .net
But dubt have you clicked on link Area Clienti? appear the wondows box autentication?