Navigate to website in internet explorer

Hello,

I'm trying to create a app which I can store my usernames and passwords, and be able to navigate to that website using internet explorer, enter credentials and hit login. So far I've achieved this code however, it's using the webbrowser control in vb.net. can anyone help me with this code to use internet explorer.

   
Private Sub Login_Click(sender As Object, e As EventArgs) Handles Login.Click

        'Enter credencials
        WebBrowser1.Document.GetElementById("userid").SetAttribute("value", Username.Text)
        WebBrowser1.Document.GetElementById("pass").SetAttribute("value", Password.Text)

        WebBrowser1.Document.GetElementById("sgnBt").InvokeMember("Click")
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        'Navigate to webiste
        WebBrowser1.Navigate("https://signin.ebay.co.uk/ws/eBayISAPI.dll?SignIn")
    End Sub

Open in new window

lincstechAsked:
Who is Participating?
 
Gerwin Jansen, EE MVEConnect With a Mentor Topic Advisor Commented:
I understand that you're running your application on vb.net but if it's just about storing usernames/passwords for websites why not use an existing application like keypass for example? Such applications will store username/passwords for sites and based on page titles for example, let you hit a hotkey to autofill username/password and login.
0
 
lincstechAuthor Commented:
Still stuck
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
The WebBrowser control is IE, AFAIK. Anyway, if the login works, why change anything? Which difference do you see?
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
On which platform do you want to run your application?
0
 
lincstechAuthor Commented:
vb.net 2013
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.