Make A Site's Login Form?
Aug 18, 2011i would like to make a site's login form. But from another site attracts ids. I could not.[URL]
View 4 Repliesi would like to make a site's login form. But from another site attracts ids. I could not.[URL]
View 4 RepliesI've been trying to make a app that logs into a website. So far it didn't work for me.I have trouble because:
- The "pin" (username) box on the site doesn't have an ID. (Can't use getelementbyid)
- The picture doesn't have an ID either
Codes I've tried:
With WebBrowser1.Document
.All("pin").InnerText = "mypinhere"
End With
End Sub
This should have, in my opinion, filled in the textbox. Now I need to click the login button?Also I found this in the source of the site:
<img src="/media/img/text_AccountPin.gif" alt="Account Pin" width="93" height="10" border="0"> <input type="text" name="pin" class="form" size="15"> </p>
As we can see, it says
name="pin"
So I should be able to use "getelementbytagname" right?Also, the formId is logmein (log me in)
<form id="logmein"....
This is what I came up with:
Dim webbrowserDocForm As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("logmein")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlValue As String = curElement.GetAttribute("Value").ToString
[code]....
in the next code it's tagname is "input" or "text"? Because I found:
<input type="text" name="pin" class="form" size="15"> </p>
Code for filling in:
webbrowserDocForm = WebBrowser1.document.GetElementsByTagName("text")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlName As String = curElement.GetAttribute("name").ToString
[code]....
It doesn't give me any errors no more, but it doesn't work either.
how to login a site from a windows form application
View 5 RepliesI want to make a function to login to a site but i can't submit the form this is what i tried:
[Code]...
I am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in VB.net?
View 3 RepliesFor the past couple of days I have been using Visual basic 2008 and learning it.Anyway, I am trying to make a login form that will login to a website with WebBrowser control.and I am noticing that the webbrowser is extremly slow, it takes him about 20 seconds to load a page while mozilla opens it in a moment, why is that?
View 6 RepliesHow do I create a Login Verification routine (Login Form) and make the password case sensitive?Please remember to mark the replies as answers if they help and unmark them if they provide no help.
View 3 Replieswhen i am surfing in one site,i want to see the another URL...without going URL directly access the login......for example this is the login page url i want know automatic login to this page [URL]
View 1 RepliesI am trying to login to hotmail via my vb.net app. I am pretty new and couldnt find any information on this nothing I have tried has worked.
View 4 RepliesI am making a program with some account details stored and the webbrowser so that I could be able to access to the website. I would like to know how I can be able to login the same site at the same time with many accounts when the account details stored on cookies?
View 7 RepliesI am making a program with account details stored and the webbrowser so that I could be able to access to the website. I would like to know how I can be able to login the same site at the same time with many accounts when the account details stored on cookies?
View 5 RepliesIm using 2 forms
How Would i make a login form that will save my data to form 2 like i sign into form1 and it saves like my username/email and password from form1 to form2
I need to include a registration form in my application that allows users to run the program and that otherwise it closes .how can I do to ensure that once registered this form no longer appears?
View 1 RepliesI am trying to create a small program that checks [URL] for a work order every minutes. While I don't know of any API that I can use, I think it would be easy enough to simply check the page and see if there are any new work orders listed. The question I have is how to access the work order page. Every a few minutes field nation logs you out of their website. At that point I am required to log back in again to access my account. How can I automate or bypass this process so that my program and regularly check for new workorders?
View 1 Repliesi have a code works fine about autologin to a website like this
[code]...
I'm trying to login this site [url] via winhttp.
How can I login to this site via winhttp?
My code;
Code:
Im trying to create a program that will login to a site for me, and cant get it to work for some reason. The code on the site im logging on to looks like this
<!--<p class="pleaselogin">Please Log In!</p>-->
<div style="MARGIN-TOP: 1px; COLOR: rgb(153,0,0); FONT-SIZE: 12px"
><b>Member Login</b></div>
<br>Sign in for more FREE features and tools!<br><br>
<form method="post" action="http://my.domain.com/login
[Code]...
im trying to to fill the value for the login page of site here the html code
<input type="text" placeholder="Email" class="login_textbox" name="username" id="username" tabindex="1"> i tried this but doesnt work WebBrowser1.Document.GetElementById("username").Se tAttribute("value", "elvin")
automatic login to a website I want to use webbrowser site login screen, but you do not open the popup site is directed to the main page.How can I solve this problem
View 3 RepliesI have it so a form opens first. But I want
LoginForm1.vb to open first.
How can I do this?
I have taken this code from this forum and what I can see is that when the application is run and enter a username and password, it will compared with the username and password that is exactly the same as the database. What i want is that when the user enter the password, like it prompt out like "invalid password","the password must be not more that 8 characters". So how could I make it? Here is the code that I have used:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data
[code]......
I want to make a login and register form.
I want to create a database (I have not done that) and People can register a free account. They must write Username / Password and an E-mail.
What should I do to the database ? I need a host ?
I want to make a Login Form that can allow 10 users to login with different user name!!
I have created a Login Form but i don't know how to add an database to store the user profile which come form the another form!
Also ,what I need to type in after I add the database to connect with the Login Form and my form that the user name come from??
I have taken this code from this forum and what I can see is that when the application is run and enter a username and password, it will compared with the username and password that is exactly the same as the database. What i want is that when the user enter the password, like it prompt out like "invalid password","the password must be not more that 8 characters". So how could I make it? Here is the code that I have used:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data
[Code]....
We develop 2 sites in asp.net, this both use forms authentication, when a user login in one of this sites it work fine, but if login into the second site, it's logout for the server of the first site, the authentication of both sites have the same usecontrol.
View 1 RepliesI'm making a winform program to automatically login to a website and then do a search on the site. Problem is, it works for one site but not for another.
Here's the code:
Code:
Dim cookies As CookieContainer = New CookieContainer
Try
[Code]......
For my work i'm making a console program that log in into a a website ([URL]) The problem is i can grab the login page and read out the viewstate & EventValidation But when i try to submit my login details i get a error.
View 1 RepliesI need to connect my VB app to html site and login in it...after that I need to view informations in labels may be it will be with ID or anything alse I do not know...[URL]I only need to log in from VB application form with out any webbrowsers and something alses...
P.s. I have my username and password on this site but I want do log in with my VB app...
I have been testing with logging into my websites using httpwebrequest, i have done it great, but 1 of my sites requires a captcha to login:
[Code]...
ok well eh i have a interface where i can login, but i must set the status to tell whether i am student or staff login.
View 1 Replies