Click here to Skip to main content
15,069,133 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
sir i want vb.net code for auto login in this site https://netbanking.hdfcbank.com/netbanking/[^]

i try auto login in this site with this code

Dim allelements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("frame")

For Each webpageelement As HtmlElement In allelements

If webpageelement.GetAttribute("name") = "fldLoginUserId" Then
MessageBox.Show("found")
End If
Next

but i fail because this is a java script site..

plz help me sir
Posted
Comments
Nelek 14-Sep-14 7:09am
   
You are asking for online-banking code in the internet. That's quite risky, don't you think?
HAMID20 14-Sep-14 7:13am
   
what risk
Nelek 14-Sep-14 8:50am
   
If you need to ask... then is not worth to explain.
[no name] 15-Sep-14 16:10pm
   
I am almost sure that would be in violation of their TOS. Have you read the TOS to see if they even allow you to do such a thing?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900