Results 1 to 9 of 9

Thread: How to get data from html source in visual basic as string

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2015
    Posts
    16

    How to get data from html source in visual basic as string

    trying to read the customer number from there into a string

    <TD width="45%" valign=center align=right class=HeaderLabel2>John Doe(123456789)&nbsp;[]</TD>


    here is also the problem that if youve get the value of Headerlabel2 it must be split up like name, forename, costumerid...

    buttoncontrol and fill in form that i can but i cant find a way to read the costumer number in a string in visual basic 2010

    someone knows the code?

    thinking of some kind code like this but cant find it

    Try
    Dim username As String
    Dim password As String
    techid = My.Settings.username
    techpass = My.Settings.password
    browser.Document.GetElementById("username_5").InnerText = username
    browser.Document.GetElementById("password_5").InnerText = password
    browser.Document.GetElementById("btnsubmit_6").InvokeMember("Click")
    Catch ex As Exception
    End Try
    Last edited by blackeagle8100; Mar 2nd, 2015 at 11:44 AM. Reason: privacy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width