Solved

Navigate to website in internet explorer

Posted on 2014-02-06
7
291 Views
Last Modified: 2014-02-10
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

0
Comment
Question by:lincstech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39839912
0
 

Author Comment

by:lincstech
ID: 39840168
Still stuck
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 39846143
The WebBrowser control is IE, AFAIK. Anyway, if the login works, why change anything? Which difference do you see?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39847295
On which platform do you want to run your application?
0
 

Author Comment

by:lincstech
ID: 39847340
vb.net 2013
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 39847562
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 71
HTML INPUT 6 21
VB.Net Data Class 1 23
isNaN issue on the Table input text 2 8
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question