Web browser question
Did you see where he got the 'loginForm' from? It is the 'name' from the
'<form method="POST"' section. I found it successfully on the next
automatic login I just tried tonight. (You can tell, it's the simple things
that get me going.)
"Shetty" wrote in message
oups.com...
Its great. As usual, I learnt a new thing from this NG.
Shetty.
Tim Coddington wrote:
Woah!! Thanks Mr Naik!! And this after all hope had been lost.
Works great for this first part.
-Tim
"Sharad Naik" wrote in message
...
Hello Tim,
In your code, just remove the line 'ifp.Click'
and in its place insert following two lines
Set ifp = ieAlphaTrade.Document.all.Item("loginForm")
ifp.Submit
(i.e. you enter username and password through your code as per your
code.
then submit the form, which invokes the 'Post' method on the web
site and
you go through)
Sharad
|